System and method for uploading location information based on device movement

ABSTRACT

Systems and methods for uploading location information based on device movement are disclosed. In some embodiments, location information may be received or determined by a mobile communications device. The location information may be associated with a physical location of the mobile communications device. A rate of movement of the mobile communications device may be identified. In some embodiments, the location information may be transmitted or uploaded from the mobile communications device to a server. The frequency of the transmitting or uploading of the location information may be based on the rate of movement of the mobile communications device.

CROSS REFERENCE TO RELATED APPLICATIONS

The present application is a continuation-in-part of U.S. patent application Ser. No. 13/162,477, entitled “MOBILE DEVICE GEOLOCATION,” filed on Jun. 16, 2011 which is a continuation of U.S. patent application Ser. No. 12/372,719, entitled “SYSTEM AND METHOD FOR REMOTELY SECURING OR RECOVERING A MOBILE DEVICE,” filed Feb. 17, 2009, and the present application is a continuation-in-part of U.S. patent application Ser. No. 13/423,036, entitled “SYSTEM AND METHOD FOR REMOTELY INITIATING PLAYING OF SOUND ON A MOBILE DEVICE,” filed Mar. 16, 2012 which is a continuation-in-part of U.S. patent application Ser. No. 12/372,719, entitled “SYSTEM AND METHOD FOR REMOTELY SECURING OR RECOVERING A MOBILE DEVICE,” filed Feb. 17, 2009, which are incorporated by reference and are related to the following co-pending U.S. Patent Applications: U.S. patent application Ser. No. 12/255,635, entitled “SECURITY STATUS AND INFORMATION DISPLAY SYSTEM,” U.S. application Ser. No. 12/255,632, “SECURE MOBILE PLATFORM SYSTEM,” U.S. application Ser. No. 12/255,626, “SYSTEM AND METHOD FOR A MOBILE CROSS-PLATFORM SOFTWARE SYSTEM,” U.S. patent application Ser. No. 12/255,621, “SYSTEM AND METHOD FOR ATTACK AND MALWARE PREVENTION,” and U.S. patent application Ser. No. 12/255,614, “SYSTEM AND METHOD FOR MONITORING AND ANALYZING MULTIPLE INTERFACES AND MULTIPLE PROTOCOLS” which are all hereby incorporated by reference.

FIELD

The present invention relates generally to mobile communications devices and more specifically to systems and methods for enabling a user or administrator to remotely secure, control and manage a mobile device or group of mobile devices.

BACKGROUND

Mobile devices have evolved beyond simple telephone functionality and are now highly complex multifunctional devices with capabilities rivaling those of desktop or laptop computers. In addition to voice communications, many mobile devices are capable of text messaging, e-mail communications, interne access, and the ability to run full-featured application software. Mobile devices can use these capabilities to perform online transactions such as banking, stock trading, payments, and other financial activities. Furthermore, mobile devices used by an individual, a business, or a government agency often store confidential or private information in forms such as electronic documents, text messages, access codes, passwords, account numbers, e-mail addresses, personal communications, phone numbers, and financial information.

As the criticality of mobile devices grows, missing devices become an increasingly severe problem. Currently, when a mobile device is lost, a user may try to locate it by calling the device's phone number; however, unless it is within close proximity to the user, the device will not likely be found. If the mobile device is not found, the user must deactivate the account associated with the missing device and transfer it to a new device which is likely purchased at substantial cost to the user or organization. Any data present on the missing device will be lost unless it is backed up or stored somewhere outside of the device. Re-entering lost data such as contact information and device settings may entail hours of work. In addition, certain types of information being present on a mobile device may require a business or government agency to perform a damaging and costly public breach disclosure.

A malicious person who steals or finds a mobile device may use the device itself or the information stored on it for illegitimate purposes. A stolen device may be used to place phone calls, perform financial transactions, or subject its owner to financial loss in other ways. Furthermore, the confidential or private information on a device may be extracted by an unauthorized individual and used to the detriment of the device's owner. In many cases, the loss of government, business, or personal data is far more problematic than the replacement cost of the mobile device. In the case of government or certain business devices, preventing the data from a lost or stolen device from falling into malicious hands is of extreme importance to national security.

It is important for users and administrators to be able to remediate problems associated with lost or stolen devices as quickly and easily as possible. In organizations that utilize multiple types of mobile devices, each with separate management systems, dealing with a lost or stolen device may be a complex process. Furthermore, end users typically must contact and rely on an administrator in order to secure a missing device, often resulting in a period of several days between the time of loss and when remote security actions are finally initiated. Such a delay significantly increases the risk of financial or information loss associated with the missing device.

What is needed is a system that allows both users and administrators to obtain remote access to a lost or stolen mobile device in order to secure the stored data, locate the mobile device, and provide feedback that confirms that the desired actions have successfully been executed. For users the system must be able to secure, control, and manage one or more personal devices and for administrators the system must be able to secure, control and manage a plurality of devices of multiple device types in order to be effective in an organization that has a heterogeneous mobile device deployment.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates a diagram of a mobile device, server and client computer;

FIG. 2 illustrates a flow chart of the remote access processing performed on the mobile device;

FIG. 3 illustrates a flow chart for conditional commands performed on the mobile device;

FIG. 4 illustrates a flow chart for communicating with the mobile device;

FIG. 5 illustrates an exemplary web page having a GUI with remote access controls for the mobile device;

FIG. 6 illustrates a flow chart for indicating to the mobile device via a messaging service that the server has remote access commands for the device;

FIG. 7 illustrates a flow chart for indicating to the mobile device via a long-timeout HTTP connection that the server has remote access commands for the device;

FIG. 8 illustrates a flow chart for caching responses to a request from the device;

FIG. 9 illustrates a flow chart for communicating with a device management server to perform an action on the device;

FIG. 10 illustrates a flow chart for the server connecting to a component to perform an action on the device;

FIG. 11 illustrates a flow chart for a component connecting to the server to perform an action on the device;

FIG. 12 illustrates a flow chart for the server acting as an intermediary between the device and a device management server;

FIG. 13 illustrates a flow chart for the server interacting with a push service to perform an action on the device;

FIG. 14 illustrates a flow chart for interacting with a location service to provide the physical location of the device;

FIG. 15 illustrates a flow chart for enforcing data quota on the server;

FIG. 16 illustrates a flow chart for securing remote access commands performed on the device;

FIG. 17 illustrates a data viewing web page that can be viewed by the device;

FIG. 18 illustrates a flow chart for transferring data, settings or applications from a source device to a destination device;

FIG. 19 illustrates a web page that can be viewed on the client computer;

FIG. 20 illustrates a window accessible from the web page of FIG. 19 with a selection of sounds that can be played on the mobile communication device;

FIG. 21 illustrates a screen shot of the mobile communication device during the playing of the sound;

FIG. 22 illustrates an alternative screen shot of the mobile communication device during the playing of the sound;

FIG. 23 illustrates a flow chart for interacting with the server for converting an input text to a sound to play on the mobile communications device;

FIG. 24 illustrates an alternative flow chart for interacting with the server for converting an input text to a sound to play on the mobile communications device;

FIG. 25 illustrates another alternative flow chart for interacting with the server for converting an input text to a sound to play on the mobile communications device;

FIG. 26 illustrates a flow chart of an example method to transmit location information from a device in accordance with some embodiments;

FIG. 27 illustrates a flow chart of an example method to receive a device recovery request and to transmit device location information;

FIG. 28 illustrates a flow chart of an example method to transmit device location information when device motion has stopped in accordance with some embodiments of the disclosure;

FIG. 29 illustrates a flow chart of an example method to determine a mode of a device in accordance with some embodiments;

FIG. 30 illustrates a flow chart of an example method to assign a mode to a device and to transmit an identification of the mode of the device; and

FIG. 31 illustrates a flow chart of an example method to dynamically reassign a device from a lost mode to a stolen mode.

DETAILED DESCRIPTION

It should be appreciated that the present invention can be implemented in numerous ways, including as a process, an apparatus, a system, a device, a method, or a computer readable medium such as a computer readable storage medium containing computer readable instructions or computer program code, or a computer network wherein computer readable instructions or computer program code are sent over optical or electronic communication links. Applications, software programs or computer readable instructions may be referred to as components or modules. Applications may take the form of software executing on a general purpose computer or be hardwired or hard coded in hardware. Applications may also be downloaded in whole or in part through the use of a software development kit, framework, or toolkit that enables the creation and implementation of the present invention. In this specification, these implementations, or any other form that the invention may take, may be referred to as techniques. In general, the order of the steps of disclosed processes may be altered within the scope of the invention.

As used herein, the term “mobile communications device” refers to mobile phones, PDAs and smartphones. The term “mobile communications device” also refers to a class of laptop computers which run an operating system that is also used on mobile phones, PDAs, or smartphones. Such laptop computers are often designed to operate with a continuous connection to a cellular network or to the interne via a wireless link. The term “mobile communications device” excludes other laptop computers, notebook computers, or sub-notebook computers that do not run an operating system that is also used on mobile phones, PDAs, and smartphones. Specifically, mobile communications devices include devices for which wireless communications services such as voice, messaging, data, or other wireless Internet capabilities are a primary function. As used herein, a “mobile communications device” may also be referred to as a “device,” “mobile device,” “mobile client,” or “handset.” However, a person having skill in the art will appreciate that while the present invention is disclosed herein as being used on mobile communications devices, the present invention may also be used on other computing platforms, including desktop, laptop, notebook, netbook or server computers.

As used herein, the term “client computer” refers to any computer, embedded device, mobile device, or other system that can be used to perform the functionality described as being performed by the client computer. Specifically, client computers include devices which can be used to display a user interface by which the functionality provided by the server can be utilized by a user. Client computers may be able to display a web page, load an application, load a widget, or perform other display functionality that allows the client computer to report information from the server to the user and to receive input from the user in order to send requests to the server.

A. System Architecture

With reference to FIG. 1, a block diagram of an embodiment of the mobile device 101 is illustrated. The mobile device 101 includes: an operating system 113, an input device 115, a radio frequency transceiver(s) 116, a visual display 125, and a battery or power supply 119. Each of these components is coupled to a central processing unit (CPU) 103. The device operating system 113 runs on the CPU 103 and enables interaction between security system application programs and the mobile device hardware components.

In an embodiment, the mobile device 101 receives data through an RF transceiver(s) 116 which may be able to communicate via various networks, for example: Bluetooth, local area networks such as WiFi, and cellular networks such as GSM or CDMA.

In an embodiment, a local software component 175 is an application program that is downloaded to a mobile device and installed so that it integrates with the operating system 113. Much of the source code for the local software component 175 can be re-used between various mobile device platforms by using a cross-platform software architecture. In such a system, the majority of software functionality can be implemented in a cross-platform core module. The cross-platform core can be universal allowing it to interface with various mobile device operating systems by using a platform-specific module and a platform abstraction module that both interact with the mobile device operating system 113, which is described in U.S. patent application Ser. No. 12/255,626, entitled “SYSTEM AND METHOD FOR A MOBILE CROSS-PLATFORM SOFTWARE SYSTEM.” In another embodiment, the local software component 175 can be device, platform or operating system specific.

The mobile device 101 accesses a communications network 121 which permits access to a server 111. The server 111 may also be accessed by a client computer 233 via network 121. The network 121 will normally be the Internet but can also be any other communications network. Alternatively, the mobile device 101 may access the server 111 by a different network than the network the client computer 233 accesses the server 111 with. In an embodiment, the server 111 is provided with server software 117. The server software 117 on the server 111 provides functionality to allow two-way communication between the server 111 and the mobile device 101, as well as two-way communication between the server 111 and the client computer 233 also through the network 121. The server software 117 on the server 111 enables the client computer 233 to access the mobile device 101 and issue commands from the client computer 233 to the mobile device 101. The server software 117 also allows for the mobile device 101 to communicate with the client computer 233 to deliver status information about the mobile device 101 after the commands from the client computer 233 have been executed or while they are in progress. Furthermore, the server software 117 allows data, such as location-related information, pictures, contacts, videos, SMS messages, call history, event logs, and settings to be transferred from the mobile device 101 to the client computer 233 and from the client computer 233 to the mobile device 101. In an embodiment, the server software 117 generates a web page for display on the client computer 233 which allows an authorized user to use remote access and configuration controls relating to the mobile device 101. In an embodiment, the server also includes a database 179 that is used to store backed-up data and other information from the mobile device 101.

Of course, it is understood by those of ordinary skill in the art that the functionality performed by server 111 does not necessarily have to be accomplished on a single hardware device. In this context, the use of the term server is intended to refer to one or more computers operating in cooperation or collaboration to provide the functionality described herein. The computers may be co-located or in different locations. The computers may inter-operate in such a way that portions of functionality are provided by separate services that may or may not be operated by the same entity as other computers which provide other functionality. For example, one set of servers may provide data storage functionality while another provides all other functionality. The data storage servers may be operated by a separate company than the servers that provide the other functionality. S3 (simple storage system), from Amazon, Inc. is such a data storage service which may be utilized by separate set of computers to enable the present invention.

With regard to the client computer 233, in the preferred embodiment, the client computer accesses the server software 117 on the server 111, and does not require that the client computer 233 to possess computer program instruction sets for the server software 117 locally. However, in certain embodiments, the client computer 233 can be programmed with software that allows it to remotely control or access a mobile device.

In an embodiment, an application or widget loaded on the client computer is used to present a user interface to the user. The user interface may provide some or all of the functionality provided by the web page displayed on the client computer. The application or widget contains presentation logic and communicates with the server via an API. The application or widget sends a request to the server in order to retrieve information from the server for display. The server returns the information in a structured format such as XML or JSON, so that the application or widget is able to display the information in an arbitrary manner. For example, the information requested by the application or widget and returned by the server may contain data such as: a list of devices accessible by the user, status information relating to a device, or a list of devices in a group managed by the user that are determined to be lost or stolen. The application or widget may also send a request to the server to perform actions on a device, change settings relating to a device, or access any other functionality provided by the server. For example, a widget may show the device and its phone number based in information retrieved from the server. The widget may have a button which allows the user to request for the server to instruct the device to play a sound. After the server has instructed the device to play a sound and the device has responded that it has started performing the action, the widget may request for the server to return the status of the command. After receiving the response from the server, the widget displays that the sound is currently playing on the device.

The steps for remote access to the mobile device 101 are shown in FIG. 2. If the mobile device 101 is lost or stolen, the user can use the client computer 233 to access the server software 117 running on the server 111 to remotely access the mobile device 101. Preferably, the server 111 will only allow the user to perform tasks after he or she has supplied authorized credentials 251. The server 111 may require authentication information such as a user name, password, biometric data, or other security-related information. If the user is authorized, the server 111 retrieves previously stored information about the mobile device 101 for which remote access is sought. The server 111 then generates a remote access web page corresponding to the mobile device 101 that is accessible by the client computer 233 and includes a user interface 253 which provides remote access to the mobile device 101. Some of the remote access controls include locating the mobile device 101 by providing the location of the mobile device 101 on a map, making the mobile device 101 play a sound, backing up the data on the mobile device 101, locking or unlocking the mobile device 101, monitoring audio or video near from the mobile device 101, monitoring any actions taken on the mobile device 101, and wiping any memory in the mobile device 101.

The client computer 233 can request one or more actions to be performed by the mobile device 255, causing the server 111 to transmit the command(s) to the mobile device to perform the selected action(s) 261. In some cases, the mobile device 101 cannot receive commands because it is outside of a communications network coverage area, its batteries are dead, or for various other reasons. In an embodiment, the server 111 can display the communications status, including attempted communications with the mobile device, on the remote access web page 271. If the mobile device is not able to receive or process the command(s), the remote access web page can indicate that communication with the device is being attempted. The server will continue to attempt to send a given command to the mobile device until the mobile device successfully completes the command, the command is manually cancelled, or the command cancelled through some setting established by the server software 117. Once the server 111 receives acknowledgement from the client that it received the command successfully, the remote access web page will indicate that the action corresponding to the command is in progress.

Any web pages generated by the server software 117 may be updated to show changes without action by the user by using technology such as Javascript or Adobe Flash which can connect to the server 111 and retrieve updated information even after a web page is generated. The requests from client computer 233 to the server 111 may be periodic, occurring on an interval, or have long timeouts in order to allow the server 111 to respond only when changes have occurred or a timeout has been reached.

It is understood by one with ordinary skill in the art that the functionality or information provided by a web page does not necessarily have to be accomplished by a single document generated by the server 111. For example, a document may be an HTML document. In this context, the use of the term web page is intended to mean one or more documents that provide the functionality described herein. The functionality may be split between multiple documents and grouped by likely use cases. A single document may have the ability to change the functionality it presents to the user using a technology such as Javascript which can modify the presentation of and, therefore, the functionality enabled by a document.

When the mobile device 101 receives the command(s) from the server 111, the local software component 175 on the mobile device 101 initiates the commanded action(s) 261. The local software component 175 then monitors the commanded action and prepares reports on the action's status 263. The mobile device 101 continues to check if the commanded action has been completed 265 and, if desired, transmits updated command status 263 back to the server 111. The command status is interpreted and updated information may be displayed on the web page 271. In an embodiment, the reports are only prepared when the commanded action has completed successfully or has failed, but not while it is in progress.

In an embodiment, the status report indicates the progress of the mobile device's execution of a commanded action. For example, the first status report can indicate that the mobile device is beginning to perform the commanded action. Subsequent reports would then indicate the partial completion of the commanded action. The web page 253 accessed by the client computer 233 can graphically display the progress of the command and may also provide an estimated completion time. When the mobile device has determined that the commanded action has been completed 265, the local software component 175 will send confirmation of the commanded action's completion and stop preparing reports 267.

If the user requests more than one command, the server 111 can transmit multiple commands to the mobile device 101 together. The mobile device 101 may then perform the commanded actions simultaneously and the next communication with the server 111 can provide the status of all the commanded actions. Alternatively, the sever 111 may store the command action requests and transmit each of the commands sequentially. The server 111 will transmit each command to the mobile device after the prior command has been completed. In an embodiment, the server 111 transmits all commands to the mobile device 101 together. The device 101 processes them in order of transmission, waiting for a given command to be completed before moving on to the next. The sequence and conditions for performing the commands can be configured in any manner.

In some cases, a failure to complete a command will cause the system to stop subsequent commands. For example with reference to FIG. 3, a user who has lost a mobile device will first want to backup the data stored on the mobile device memory and then wipe all data from the memory after the backup is performed. The user can use the remote access web page to request a backup and secure wipe of all data on the mobile device 301. The server commands the mobile device to back up all stored data 303. The system will monitor the progress of the backup command 305. If the backup is successful, the mobile device memory will be wiped 311. However, if the backup fails, the system analyzes the command status to determine if the backup can be completed 307. If the backup can be completed, the system will continue to monitor the backup progress 305. If the backup cannot be completed, the system can transmit a request to the remote access web page asking the user if the data should be wiped if the backup cannot be completed 309. The system processing can be performed by either the remote device or the server. The user can then choose to cancel the wipe command 313. If a recent backup does not exist, the user may want to make further attempts to find the mobile device before erasing the memory. Alternatively, the user can confirm the wipe command and the server will command the mobile device to wipe all data from the mobile device 311. This may be an appropriate choice if the mobile device data was backed up recently and very little data would be lost. In an embodiment, the server automatically chooses whether or not to perform the wipe depending on factors including the last backup time or pre-chosen settings. In an embodiment, the mobile device automatically chooses whether or not to perform the wipe. While one specific example of conditional command processing has been described, various other commands can be processed in a similar manner.

B. Communications

With reference to FIG. 1, specific communication protocols are used between the server 111 and the local software component 175 on the mobile device 101 to facilitate secure communications. In a preferred embodiment, commands can be sent both from the server 111 to the client 101 and from the client 101 to the server 111. The connection uses a standardized transport protocol such as HTTP to transmit data in both directions. The connection may use a security layer such as TLS (Transport Layer Security) or SSL (Secure Sockets Layer). Because HTTP is composed of request and response pairs, in order to support a persistent connection, multiple request and response pairs are strung together. A protocol such as SyncML is used on top of the HTTP layer to structure the information exchanged between the mobile device 101 and the server 111 and manage the logical session that is composed of the individual HTTP request and response pairs. More information about SyncML can be found at http://www.openmobilealliance.org. The mobile device 101 will initiate a connection whenever it has commands to send to the server 111 or when the server 111 indicates that it has commands to send to the device 101. The device 101 continues sending HTTP requests to which the server 111 responds while either the mobile device 101 or server 111 have outstanding commands.

With reference to FIG. 4, when the client computer 233 requests a command for the mobile device 101 from a web page generated by the server 111, the client computer transmits the request to the server 401 and the server transmits an indication message to the device 402. The indication message instructs the mobile device 101 to connect to the server 111. The mobile device 101 responds by connecting to the server 403. The server then transmits the commands to the mobile device 404. The device receives the commands and the local software component 175 interacts with the operating system 113 to perform the requested commands 405. In an embodiment, the local software component 175 also monitors the progress of the requested commands and transmits command progress reports back to the server 111 that indicate the status of the commands 406. The server interprets the reports and displays the command status on the web page viewed by the client computer 407.

In an embodiment, one or more commands can be transmitted from the server 111 to the mobile device 101 in a secure short message service (SMS) protocol. The local software component 175 interprets SMS packets and verifies that they came from an authorized source. In an embodiment, the protocol uses digital signatures to authoritatively identify the source of an SMS packet, sometimes called a protocol data unit (PDU). In an embodiment, the protocol uses an encryption scheme such as public key encryption to prevent the contents of PDUs from being seen by unauthorized parties. If a PDU is found to be from a trusted source, the mobile device 101 performs any requested commands present in the PDU. The local software component 175 monitors the command progress and transmits the status reports to the server 111 using the secure SMS protocol. Alternatively, the local software component 175 may report the status back to the server using an HTTP based protocol, such as has been described above. In order to overcome the limitations of SMS PDU length, multiple SMS PDUs may be reassembled to transmit large commands.

Of course, it is understood to one of ordinary skill in the art that the device 101 and the server 111 may be configured to communicate in ways other than those directly described in this disclosure to perform the functionality of the inventive system. Such additional manners of communication include using different transport protocols (e.g. TCP instead of HTTP), using different structured data formats (e.g. JSON instead of XML), using different indication mechanisms (e.g. XMPP instead of SMS), and other changes that do not meaningfully alter the functionality or functions provided by the present invention.

1. Indication

In an embodiment with reference to FIG. 6, the server 111 indicates to the mobile device 101 that there are one or more commands waiting to be sent from the server 111 to the device 101 by utilizing a push messaging service such as SMS. When the server wishes for the mobile device to connect, it sends an SMS message to the device's phone number with an indication command and an authentication token that is known only to the server and mobile device 601. The mobile device receives the SMS message and checks to see if it matches a pre-defined indication command format and checks for the presence and validity of the authentication token 602. If the command is valid and the token matches, the device will execute the indication command 603. If the message does not match the indication command format, the command is not valid, or the authentication token does not match, the message is ignored 604. In an embodiment, the indication command contains a priority code which tells the mobile device 101 how important any commands waiting to be sent on the server 111 are. The device decides whether or not to connect to the server depending on the priority reported by the server and cost of data transfers for its current connection 605. If the mobile device is out of its home coverage area and network data transfers are expensive, the device does not connect to receive low priority commands 606; however, if the server has a high priority command, such as one corresponding to a wipe request, the device will connect to the server through any means necessary without regard to cost 607. While one example of conditional connection has been described, the invention can be configured to connect based on various other criteria. In an embodiment, if the device does not connect to the server, it will wait until its data connection changes 608, and then decide if it should connect again 605. In an embodiment, the indication command contains a message identifier which is used to correlate SMS messages sent by the server 111 with SMS messages received by the device 101. The message identifier is reported to the server when a command exchange session using a protocol such as SyncML is started as a result of an indication message. The correlation allows the server 111 to identify non-reception of SMS messages by the device 101. Non-reception may be indicative of a network or phone configuration problem. By identifying such problems automatically, the problems can be corrected before the lack of SMS reception prevents indication messages from being received by the device 101 in the case of a missing device.

In an embodiment with reference to FIG. 7, the server 111 indicates to the mobile device 101 that there are one or more commands waiting to be sent from the server 111 to the device 101 by utilizing a long-timeout HTTP connection. The mobile device 101 transmits an HTTP request to the server 701. The request contains the response timeout, the maximum time the server may wait before returning a response. The request also contains authentication information that identifies the device to the server. The response timeout can typically range from 1 to 60 minutes. The server checks to see if there are any commands waiting on the server to be retrieved by the device 702. If there is at least one command waiting for the device, the server transmits an HTTP response to the device indicating that there is a command waiting to be retrieved 703. When the device receives this message, it connects to the server to retrieve any waiting commands 704. If there are no commands waiting to be retrieved by the device, rather than responding immediately, the server waits for a command to become ready to be retrieved by the device for up to the maximum timeout specified in the request 705. When the timeout has been reached or there is a command on the server waiting to be retrieved by the device, the server decides what type of response to return to the device 706. If there is a command waiting to be retrieved by the device, the server will respond to the outstanding HTTP request before the maximum response timeout is reached, telling the device to connect to the server 703. If the maximum response timeout is reached without the server having a command ready to be retrieved by the device, the server responds and instructs the mobile device to continue waiting with another long-timeout HTTP request 707. The mobile device will then transmit a new long-timeout HTTP request to the server 701. Because an HTTP request is always outstanding, a secure persistent connection exists between the server 111 and the mobile device 101. In order to minimize the impact on the mobile device's battery life and reduce the amount of network traffic, a maximal response timeout is desired. In an embodiment, the mobile device dynamically adjusts the response timeout. After sending a long-timeout HTTP request to the server, the device waits up to that maximum timeout for a response from the server 708. If the device does not receive a response within the specified response timeout or the device determines that the HTTP connection has been closed without it having received a response, the device decreases the response timeout for the next request 711. If the device receives a response successfully that indicates that there are no commands waiting to be retrieved by the device on the server, the device increases the response timeout for the next request 710. In an embodiment, the device determines a maximum timeout by increasing the timeout on subsequent requests until a request's response is not received successfully. The maximum timeout is the highest response timeout that completes successfully. If a response is received successfully, the timeout is not increased if the timeout is already maximized 709. Microsoft's DirectPush is an example of a mobile device long-timeout HTTP request system that automatically adjusts the response timeout based on success or failure of requests. (http://technet.microsoft.com/en-us/library/aa997252.aspx)

In an embodiment, the server uses a messaging service to notify a server thread that is waiting for a command to be ready to be retrieved by the device. Example messaging services include RabbitMQ (http://www.rabbitmq.com/), ActiveMQ (http://activemq.apache.org/), ejabberd (http://www.ejabberd.im/) and other messaging or event systems that may be used to notify a server thread about a command being ready to be retrieved. When the server receives a long-timeout request from a device, the thread processing the request registers with the messaging service to receive command-ready events for the device. If another action on the server, such as the user requesting an action via the remote access web page causes a command to be queued to be sent to the device, the server sends a message via the message service notifying the thread processing the long-timeout request. In an embodiment, threads processing long-timeout requests process multiple requests simultaneously in an event-driven fashion. An example library used to provide this functionality is libevent (http://monkey.org/˜provos/libevent/).

In an embodiment, long-timeout HTTP requests and responses used to indicate that the server 111 has commands to send to the device 101 are separate from the SyncML HTTP requests and responses. In an alternative embodiment, SyncML HTTP requests use a long timeout to allow the server 111 to send commands to the device 101 without relying on a separate indication system. In this embodiment, the server does not respond with an indication that commands are ready to be retrieved by the device. Instead, the device's request is a SyncML request, and the server's response is a SyncML response containing any commands needing to be sent to the device. In a further embodiment, two SyncML sessions between a device 101 and server 111 can exist. One of the sessions uses long-timeout requests and is dedicated to commands sent from the server 111 to the device 101. Because the server holds the HTTP request open, a client cannot send commands through this session until the server returns a response. A second session is dedicated to commands sent from the device 101 to the server 111. HTTP requests and responses for the second session do not use long timeouts and are only sent when the device 101 has commands to send to the server 111.

2. Connection Robustness

If the mobile device 101 cannot connect to the server 111, it will attempt to reconnect and try sending the latest message in the session again. By automatically reconnecting and resuming a session, the mobile device 101 can tolerate connection outages, a frequent occurrence on mobile networks. The ability to tolerate network failures without having to restart a session allows the system to successfully operate on networks which would otherwise be unusable for large data transfers. For example, if a device is backing up a large file, the file may be broken up into multiple chunks and sent to the server over multiple requests.

If the device's network connection is interrupted while it is transmitting a request to the server, the software on the device reconnects to the network and retries the failed request. Because the session is able to continue, the device does not need to restart sending the file to the server and can resume immediately after the last successfully transmitted chunk. As the session does not depend on a given network connection, the mobile device can lose its network connection, change its IP addresses, or have other connectivity issues and still resume its session with the server.

In the case where the device's network connection is interrupted while it is receiving a response from the server, the device will retry the request associated with the failed response. In an embodiment, the server will recognize that it has already received the original request and signal for the device to abort its session, not processing the duplicate message. In an alternative embodiment with reference to FIG. 8, the server caches its latest response in the given session so that it may recover from the device failing to receive a response. The device sends a request to the server 801. The server checks to see if it has already responded to the request in the current session by checking the message identifier and session identifier of the request against data stored in a database 802. The database contains the last message identifier and session identifier the server has responded to. If the request has the same message identifier and session identifier as is stored in the database, the request has already been responded to. If the server has not responded to the request (i.e. this is the first time that the client has successfully transmitted this request to the server), the server processes the request, caches the response, and returns the response to the device 803. When caching the response, the server stores the response data, the hash of the request (using an algorithm such as SHA-1), and identifiers such as the session identifier and the message identifier of the request. If the device fails to receive the response, it will retry sending the request to the server 804. After receiving the retried request, the server checks that request's identifiers against the data stored in the database 802. Because the session identifier and message identifier match the last request responded to, this request has already been responded to. The server checks to make sure that the retried request is exactly the same as the request corresponding to the cached response by comparing the hash of the retried request to the hash of the request corresponding to the cached response 805. If there is no cached response available for the message identifier and session identifier or if the hash does not match, the server returns a response indicating for the session to abort 806. The device receives this abort response and attempts to restart the session 807. If there is a cached response for the request available to the server, the server returns the cached response to the device 808. The device processes this response and continues the session without interruption 809. In an embodiment, the server expires cached responses after a given period of time or upon certain events, such as a device becoming disabled or stolen, to prevent stale data from being transmitted by the server to the device. In an embodiment, the server expires cached data in a least recently used manner. In an embodiment, the server only stores a cached response for the last received request in an active session. To store the cached data, the server may use an in-memory caching system such as memcached (http://www.danga.com/memcached/).

3. Device Management System Integration

For some devices or some types of device deployments, it is not ideal or not possible for the server to directly send commands to software on the mobile device. In an embodiment with reference to FIG. 9, the server 111 communicates with a device management server 900 which has the ability to perform remote actions on a device 101. Because device management systems are often coupled to a specific type of mobile device, the present invention is a centralized way to remotely access multiple types of mobile devices even if each only supports a certain type of management system. In an exemplary embodiment, the server 111 communicates with a device management server 900 using an HTTP API. When the client computer 233 requests for the server to perform a remote action on a device 901, the server receives the request from the client computer and sends a request to the device management server for the device to perform the action 902. The device management receives the request from the server and uses its internal method of contacting the device and inducing the action 903. The device receives the request from the device management server and the device performs the action 904. The device then returns the status of the action to the device management server 905. The server may subsequently query the device management server for the results of the remote action request 906. The device management server returns the current status of the remote action request 907.

If a device management server 900 does not have an API that can be used by the server 111 to perform remote actions, a component 1000 may be installed on the device management server 900 to allow communication with the server 111. In an embodiment, the inventive system includes the component 1000, sometimes called a plug-in or connecter, that can integrate with the device management server 900. The component 1000 can be used to gather information about a device, command actions to be performed on a device, get status about a previously issued command, enumerate what devices a given device management server manages, and perform other actions desired for operation of the present invention. Depending on various factors such as the security requirements and network architecture pertaining to the device management system, the component 1000 may either connect to the server 111 or be connected to by the server 111. Each action performed on a device must be authenticated so that only authorized parties can access the functionality provided by the component 1000 and only authorized receivers can receive commands from the server 111. The authentication process may include sending a shared secret key, a challenge-response system, a public-key system, or any other technology that can be used for authoritative authentication. The connection may use a public-key system such as TLS to provide encryption and authentication. TLS may be used for authentication of both participants in a connection when used with client certificates. If TLS is used without a client certificate, only the identity of one party can be asserted. In this case, TLS may be combined with other authentication mechanisms to provide mutual authentication.

In an exemplary embodiment with reference to FIG. 10, where the server 111 connects to the component 1000, the component 1000 exposes its API by acting as an HTTP server. When the server has an action to perform on the device managed by the device management server, the server initiates an HTTP request to the component 1001. To verify the authenticity of both parties, TLS is used. The component 1000 supplies a server certificate and server 111 supplies a client certificate so that both parties may mutually authenticate. Alternatively, the authentication process can use any of the methods defined above. Once the connection is established and mutually authenticated, the server completes its HTTP request to the component. The component receives the request 1002 and interacts with the device management server to perform the action on the device 1003. The component returns status as to whether or not it was able to successfully request that the device management server perform the action on the device 1004. At some point in the future, the server sends another request to the component querying the status of the action 1005. The component returns information pertaining to the progress of the command such as whether it was successfully completed or not 1006. If the command is still pending, the server periodically continues to request status from the component.

In an exemplary embodiment with reference to FIG. 11, when the component 1000 connects to the server 111, the component exposes its API by acting as an HTTP client and connecting to the server. The component uses a SyncML protocol over HTTP to communicate with the server. Ordinarily, the component keeps a long-timeout HTTP connection open with the server 1101. Both the long-timeout HTTP connection and any other HTTP connections may be encrypted using TLS. The server 111 has a certificate which verifies its identify. The component 1000 supplies authentication credentials to the server with each HTTP request. The server receives the long-timeout HTTP request from the component and waits for there to be an action to be performed on a device managed by the device management server 1102. When the server has an action to perform on a device 101 managed by the device management server 900, the server 111 responds to the long-timeout HTTP request with an indication for the component to connect to the server 1103. The component then connects to the server to start a SyncML session over HTTP 1104. In the SyncML session, the server sends a command to the component 1105. The component receives the command 1106 and interacts with the device management server to perform the action on the device 1107. The component returns status as to whether or not it was able to successfully request that the device management server perform the action on the device 1108. The component sends the command progress to the server until the commands have completed successfully or failed.

In an embodiment, the server is used to remotely access multiple devices. Because each device may be accessible from a different management server, the server is able to select which management server a given device corresponds to and send commands to the appropriate server. The server may choose to send certain commands directly to a device and other commands to a management server which corresponds to the device depending on the capabilities of the device, the local software component on the device, and the management server.

For some devices or some types of device deployments, it is not ideal or not possible to run a local software component on the device 101. In an embodiment with reference to FIG. 12, the server 111 acts as an intermediary between the mobile device 101 and its management server 900. Without the inventive system, the mobile device 101 directly connects to its device management server 900, such as Microsoft Exchange or Blackberry Enterprise Server. Because an organization may have multiple types of mobile devices and thus multiple management servers, it becomes cumbersome for an administrator to help a user with a lost or stolen mobile device. Furthermore, if an organization only uses one type of management server, and a user loses a mobile device which cannot communicate with that type of management server, the device may not be able to be secured. Instead of connecting directly connecting to its management server, the device connects to the server using its management protocol 1201. The server receives the management protocol data and checks to see if there are actions to be performed on the device 1202. If the server has actions to perform on the device, the server uses the device management protocol supported by the device to induce the device to perform the desired actions 1203. If the server does not have actions to perform on the device, the server proxies the device's management protocol data to the device management server 1204. The management server receives the management protocol data, processes it as normal and returns result data to the server 1205. The server returns the result data returned by the management server to the device 1206. In an exemplary embodiment, the mobile device 101 uses a long-timeout HTTP protocol as its device management protocol. When using the inventive system with the mobile device 101, the mobile device is configured to connect to the server 111 via the device management protocol 1201. When there are no actions for the device 1202, the server proxies the request from the device to the management server 1204. The management server will wait up until the maximum timeout specified in the request before returning data to the server 1205. The server then returns the response from the management server to the device 1206. If the server has an action for the device while the management server is waiting to return a response, the server will respond to the device's request and close its connection with the management server, even though the management server did not return a response. When there are actions for the device 1202, the server does not proxy the request and instructs the device to execute the action 1203. When finished with sending any actions to the device and receiving any associated status information, the server returns to normal, proxying requests and responses between the device 101 and the management server 900. In an embodiment, there is no device management server 900, and the server 111 acts as a device management server 900 and does not proxy requests.

4. Push Service Integration

For some devices, it is not possible or not desirable to run software in the background which is able to receive connection indications from the server 111 or to connect to the server 111 periodically. Such devices may allow the server 111 to request that an indication be pushed to the device 101 via a push service 1300 provided by the device's manufacturer, service provider, or other party. In an embodiment with reference to FIG. 13, the server 111 uses this push service 1300 to indicate for the device 101 to connect to the server 111. The server first sends a request to the push service requesting that an application be launched on the device 1301. The push service sends a request to the device instructing the device to perform the requested action 1302. The device receives the request 1303 and launches the application specified in the request 1304. Launching the application causes the device to connect to the server using an HTTP based protocol to send and receive commands and responses. In an alternative embodiment, the push service 1300 allows the server 111 to directly request that actions be performed on the device 101. In an example, the push service 1300 allows the server 111 to wipe the device 101, play a sound on the device 101, and lock the device 101 directly through the push service 1300 without requiring software on the device 101 to connect to the server 111 to receive commands after receiving an indication. The device sends a request to the push service for the device to perform an action 1301. The push service sends the request to the device 1302. The device receives the request 1303 and performs the action 1304. After the device performs the requested action, the device reports the status of the action to the push service 1305. The server connects to the push service 1300 to receive the status of the requested actions. Alternatively, the push service 1300 connects to the server 111 to inform it of the status of the requested actions.

For actions indicated by a push service 1300 which report small amounts of data back to the server 111, such as retrieving location-related information from the device 101, it may be desirable to use an HTTP request/response API instead of a persistent session protocol such as SyncML layered on top of HTTP. In an embodiment, the push service instructs the device to perform an action such as gathering location-related information 1302. After receiving the request 1303 and gathering the location-related information, the device connects to the server using HTTP and posts the location-related information along with authentication information to the server in a structured data format such as XML or JSON 1304.

C. User Interface and Functionality

With reference to FIG. 5, an exemplary mobile device remote access web page is illustrated. The web page provides general management and assistance functionality. The user may click Account 510 to view or change their account details, Feedback 511 to comment on the functionality of the system, Help 512 to get assistance with the functionality provided by the system, and Logout 513 to log the user out of the system. The currently logged-in user is identified on the web page 581. A currently selected device is identified by its phone number 520 and name 522. The identity of the selected device is graphically illustrated by a picture of the device if the server can identify the model of the device 521. The status of the currently selected device is also indicated 524. In this example, the status 524 informs the user that “Everything is OK”. If there were a security or other problem with the device, the status 524 would indicate the severity of the problem. The currently selected device may be changed by pressing the change device button 523 and selecting a different device. The change device button 523, when clicked, shows a dialog with some or all of the devices accessible by the user. When the user selects one, that device becomes the currently active device.

The web page provides several tabs each displaying different information and controls relating to the currently selected device. The primary remote access controls for recovering and securing a lost or stolen device are on the “Missing Device” tab 503 of the web page. The user can utilize functionality provided by the present invention by clicking on other tabs which include “Dashboard” 501, “My Data” 502, “Restore” 504, and “Settings” 505. For example, clicking “Dashboard” 501, allows the user to view an overview of the security and status of the currently selected device. Clicking “My Data” 502 allows the user to view the device's backed up data which may include types such as: pictures, videos, documents, audio, call history, SMS messages, contacts, web favorites, settings, programs, and other data. Clicking “Restore” 504 allows the user to restore data backed up from the currently selected device to that device or another device. “Settings 505” allows the user to view and change settings associated with the currently selected device. For example, the user may set the frequency and schedule of backups, the types of data backed up, and the connection preferences associated with backups. Connection preferences may include only backing up while connected to the server via Wi-Fi or a cellular network where the device is not “roaming”. Various other settings can be made through the system, including settings for Anti-Virus, Attack-Protection, Firewall, and other functionality relating to the currently selected device.

In this example, the missing device web page contains one view 582. The web page can also be configured to contain multiple views. For example, the functionality provided by the present invention may be split into multiple views that are accessed by separate documents requested from the server or dynamically displayed elements in a document. Thus, the displayed web page is intended to represent various different possible dynamic displays and not be limited to a static web page display. In an embodiment, when the user clicks on an element in a web page which represents selecting a new view, the client computer requests a document from the server to dynamically change appropriate elements on the page to display the new view being selected. In an alternative embodiment, when the user clicks on an element in a web page which represents selecting a new view, the client updates the visual display of the page with data already loaded by the client computer. In an alternative embodiment, when the user clicks on an element in a web page which represents selecting a new view, the client requests a document from the server to load an entirely new page on the client computer.

In this example, the user selected the “Missing Device” tab 503. The web page displays suggestions for finding and securing the phone based upon the circumstances in which the phone was lost 580. The user can select any of the desired remote access commands including: locate the device 540, play a sound from the device 541, lock the device 542, wipe the device 543, and backup the device 544. This listing of commands is exemplary only, and is not intended to recite all commands that are the subject of the present invention. The user clicks buttons corresponding to the desired actions which causes the action to be performed. Upon clicking a button corresponding to an action, the web page may display a dialog box which requires the user to confirm the action or supply additional information. The dialog box allows the inventive system to prevent accidental actions which could be harmful if done unnecessarily. In this example, some actions have additional options which may be configured by the user. Locate, for example, allows the user to select for how many minutes to locate the device 550. After the server begins attempting to perform the action, its status is displayed. If the device has not yet started the action, it may be cancelled 570. While an action is being performed, the web page may disable the button corresponding to that action until the action is finished.

1. Location

The web page also includes a map 530 that shows the physical location of the mobile device. In an embodiment, the mobile device obtains location-related information and transmits this information back to the server which displays the mobile device location on the map 530. The location-related information can be data from a GPS receiver on the mobile device or any other type of location detection mechanism, including but not limited to Wi-Fi access point signal information, cell-tower signal information, and other radio signal information. The mobile device location is indicated as an icon 532 on the map 530. The location action may be initiated manually from the remote access web page or automatically by the device or server.

To locate the device, the user clicks on the “Locate” button 540 to request current location-related information from the mobile device. The locate command can be terminated by clicking on the cancel button 572. After receiving the location request, the server transmits a command to the mobile device requesting location-related information. The mobile device receives the location-related information command, obtains the location-related information and transmits the location-related information back to the server. While the device is obtaining location-related information, it may report its progress to the server. The location-related information may include the physical location of the device or data that must be further processed to obtain the physical location. The location-related information may also include accuracy information regarding the physical location or other data reported to the server. The web page displays the status of the mobile device location detection 561. The web page indicates that the system is “locating.” The location status will be reported or displayed as “locating” while the location information is being reported by the device, “location unknown” when the location retrieval fails, or “done locating” when the location has finished. If the device reports accuracy information, the map has a zone of confidence 533 around the estimated location to inform the user of the region the device is expected to be within. Such a zone may be represented as a circle around the estimated location. The server may also display multiple locations transmitted by the device to show the movement of the device over a period of time. The multiple locations displayed on the map may show the time the device was at the location and/or display a line connecting the location points in chronological order. In an embodiment, the server can send a command to the device for the device to report location-related information to the server for a period of time. The user may specify the duration of the location on the remote access web page 550. During the time period of the location request, the device periodically sends updated location-related information to the server. To protect user privacy, location information sent by the device and stored on the server may be discarded after a period of time.

The user can use pan, zoom in and zoom out controls 531 to alter the scale and boundaries of the map 530 to display the mobile device icon 532 in the desired manner on the map 530. For example, the user can use the display commands 531 to zoom in on the map 530 so that the user can more easily identify the streets and addresses in the proximity of the mobile device. The location information can be useful in determining if the mobile device is lost or stolen. In an embodiment, the user may input addresses or coordinates of locations known to the user such as the user's home, office, or known areas associated with the user such as schools and houses of friends and relatives. A location can be defined by recording the coordinates through the mobile device or by entering the location manually. A location's area can be defined by specifying a radius around a given location's coordinates. The system may identify these locations on the map 530 and if the mobile device is detected to be within any known location areas, the system may identify the location by name. If the system detects that the mobile device is located in an area unknown to the user this information may suggest that the mobile device is stolen and data on the mobile device may be at risk.

It may be desirable to automatically change the security policy of a device depending on its location or send a notification if the device enters or leaves a given area. This functionality may reduce risk by setting a lenient security policy while at an office environment and a strict security policy while outside of the office. Additionally, this functionality may help proactively identify lost or stolen devices before the device is reported missing by its user. In an embodiment, the device periodically sends location-related information to the server. The server processes the information and compares the device's location to a set of location areas pertaining to the device. If the device is in a location area that pertains to a specific security policy, the server sends a command for the device to change its security policy. If the server is configured to notify the user if the device leaves a given location area, the server will send an email notification describing the device having left the given location area. If the server is configured to notify the user if the device enters a given location area, the server will send an email notification describing the device having entered a given location area. If the device's location is not known with extreme accuracy, the device's presence or absence in a given location area may be determined by the probability of a device being in a given area given its current location and the uncertainty of that location. In an alternative embodiment, the device's comparison of its current location to known locations for purposes of notifications policy changes, or other actions may be performed on the device. In this case the server may also be notified of any location-related changes or notifications.

If a device is lost, it is a significant problem if its battery runs out before one or more remote actions have been performed to secure or recover the device. In an embodiment, the device automatically sends its current location-related information to the server when the device's battery is low. If the user later decides to attempt to locate the phone, but the battery has run out, the server displays the last known location on the remote access web page. In an embodiment, the device automatically sends its current location-related information to the server on a periodic basis. The user may configure the time interval by which the device transmits location-related information to the server. If the user decides to locate the phone, but the device is unable to communicate with the server for any reason, the server displays the last known location on the remote access web page.

FIG. 26 illustrates a flow chart of an example method to transmit or upload location information from a device in accordance with some embodiments. As shown, at step 2610, a notification associated with a device recovery request may be received. For example, a device (e.g., mobile device 101) may receive a notification to begin a recovery operation for the device. In some embodiments, a client computer (e.g., client computer 233) may transmit the notification to begin the recovery operation to the device. Furthermore, at step 2620, a rate of movement of the device may be determined. For example, motion may be identified and a velocity of the device may be determined by location information or sensor-based measurements taken by the device. Further details with regard to determining the rate of movement or velocity of the device are disclosed below. At step 2630, the location information may be transmitted (i.e., uploaded) from the device based on the rate of movement or velocity of the device. For example, the mobile device 101 may transmit location information to a server 111 and/or client computer 233 based on the determined rate of movement of the mobile device 101. Further details with regard to the transmitting of the location information from a mobile device 101 based on a rate of movement are disclosed below.

As previously disclosed, the location information (also referred to as location-related information) may include the physical location of the device or data that may be processed to determine the physical location of the device. Although the present disclosure refers to location information or location-related information, other types of data may be transmitted in similar methods as disclosed with relation to the transmitting or uploading of location information. For example, any or all of other types of information or data, such as audio, photos, video, SMS messages, call history, event logs, and sensor readings may be subject to the transmission from a device as disclosed herein. In some embodiments, such information may be transmitted from the mobile device 101 to the client computer 233 and/or server 111.

FIG. 27 illustrates a flow chart of an example method to receive a device recovery request and to transmit (i.e., upload) location information. In general, the client computer 233 may request or initiate a device recovery operation and the mobile device 101 may transmit or upload location information.

As shown in FIG. 27, at step 2710, a client computer may request a device recovery. For example, as previously disclosed, a user of the client computer 233 may initiate a command to recover a mobile device 101 and request location information of the mobile device 101. In some embodiments, the command to request location information may be initiated based on the mobile device 101 being in a lost state or stolen state as disclosed in further detail below with regard to FIGS. 29-31. At step 2720, the server 111 may receive the request from the client computer 233 to initiate a device recovery and may transmit the device recovery request to the mobile device 101. At step 2730, the mobile device 101 may receive the device recovery request transmitted by the server 111. In some embodiments, the mobile device 101 may transmit location information in response to the recovery request. For example, in response to the device recovery request, the mobile device 101 may, at step 2740, determine a first location and a second location associated with the mobile device. In some embodiments, the first location and the second location associated with the mobile device may be determined by a GPS receiver on the mobile device or other types of location detection components such as, but not limited to, Wi-Fi access point signal information, cell phone tower signal information, radio signal information, or Bluetooth beacons. At step 2750, a rate of movement may be determined based on the first location and the second location. For example, the mobile device may determine a velocity (i.e., rate of movement) of the mobile device 101 based on distances between the first location and the second location and an amount of time that lapsed for the mobile device 101 to move from the first location to the second location.

In some embodiments, a rate of movement of the mobile device 101 may be determined based on sensor-based measurements. For example, the rate of movement or velocity of the mobile device 101 may be determined based on inertial sensors of the mobile device 101. Such inertial sensors may include, but are not limited to, gyroscopes, accelerometers, and magnetic direction bearing sensors. In some embodiments, such sensors may be used to classify the sensed motion of the mobile device 101. For example, a motion type of the mobile device may be identified based on the inertial sensors. In some embodiments, the motion type classifications for the mobile device 101 may include, but are not limited to, walking, bicycling, running, and vehicular motion such as car, bus, subway, etc.

In some embodiments, the appearance and disappearance of a type of signal strength may be used to determine a rate of movement or velocity of the mobile device 101. The rate of movement may be determined based on the mobile device 101 entering and leaving areas associated with radio or communication beacons (e.g., cell phone towers, Wi-Fi stations, Bluetooth beacons, etc.) and/or the signal strength of the radio or communication beacons that is received and detected by the mobile device 101. For example, a Wi-Fi signal may have a known range from a Wi-Fi base station. The mobile device 101 may detect the Wi-Fi signal from a first Wi-Fi base station at a first time interval and the Wi-Fi signal as detected by the mobile device 101 may be observed to increase in intensity or signal strength and then, at a second time interval, the Wi-Fi signal may be observed to decrease in intensity or signal strength until the Wi-Fi signal is no longer detected by the mobile device 101. As such, the rate of movement or velocity of the mobile device 101 may be determined based on the signal strength of the Wi-Fi signal detected by the mobile device 101 at various points in time. For example, if a Wi-Fi base station has a range of 150 feet in an indoor environment and 300 feet in an outdoor environment and if the mobile device 101 first detects an outdoor Wi-Fi signal at the first time interval and then no longer detects the outdoor Wi-Fi signal at a second time interval, then time difference between the first time interval and the second time interval and the known range of the Wi-Fi base station may be used to estimate a rate of movement of the mobile device 101. For example, if ten seconds have elapsed between the first time interval (e.g., when the mobile device 101 first detects the Wi-Fi signal) and the second time interval (e.g., when the mobile device 101 no longer detects the Wi-Fi signal), then the rate of movement or velocity of the mobile device 101 may be estimated at 60 feet per second (600 feet traveled in 10 seconds). In some embodiments, if the mobile device 101 does not closely approach the Wi-Fi base station, then the Wi-Fi signal may be detected and then quickly no longer detected by the mobile device 101. As such, the Wi-Fi signal may appear and disappear more quickly since the motion track of the mobile device 101 does not approach the Wi-Fi base station. However, the distance of the motion track of the mobile device 101 may still be estimated based on the Wi-Fi signal strength since the signal strength that is detected may fall off or reduce inversely as a square of the distance from the Wi-Fi base station to the mobile device 101. In some embodiments, similar measurements may be performed for other types of radio or signal emitters such as cell phone towers and cell phone signals and Bluetooth beacons and Bluetooth signals.

Returning to FIG. 27, at step 2760, location information may be transmitted or uploaded from the mobile device 101 based on the determined rate of movement of the mobile device 101. For example, a frequency of transmitting or uploading the location information from the mobile device 101 to the server 111 and/or the client computer 233 may be based on the rate of movement or velocity of the mobile device 101. Furthermore, at step 2770, the server 111 may store the location information transmitted or uploaded by the mobile device 101 and, at step 2780, the location information may be displayed on the client computer 233. In some embodiments, the location information may be displayed on a remote access web page on the client computer 233.

As such, location information may be transmitted or uploaded from a mobile device based on a rate of movement (i.e., velocity) of the mobile device. For example, a frequency of the transmitting or uploading of the location information may be based on the rate of movement of the device. In some embodiments, the frequency of transmitting or uploading the location information may increase as the rate of movement of the device is high and the frequency of transmitting or uploading the location information may decrease as the rate of movement of the device is low. As such, the location information may be transmitted or uploaded more frequently as the mobile device is in motion as opposed to when the mobile device is not in motion. Thus, a higher velocity may result in a more frequent transmitting or uploading of the location information from the mobile device.

In some embodiments, the frequency of transmitting or uploading location information from the mobile device may increase as the rate of movement of the mobile device is low and may decrease as the rate of movement of the mobile device is high. As such, the location information may be transmitted or uploaded more frequently as the mobile device is at a lower rate of movement as opposed to a higher rate of movement. In some embodiments, the location information may be transmitted or uploaded from the mobile device as the mobile device ceases motion. For example, location information may be transmitted or uploaded from the mobile device when the mobile device is detected as ceasing to move. As such, a destination that the mobile device has arrived at may be identified by the location information that has been transmitted or uploaded from the mobile device as opposed to intermediate locations on a route or path that the mobile device has traveled. Such destination location information may be more useful than intermediate location information to a user attempting to recover the mobile device. Furthermore, sending more infrequent transmissions or uploads (e.g., when large scale or higher rate motion of the mobile device has been detected to stop) may prolong the battery of the mobile device. As an example, FIG. 28 illustrates a flow chart of an example method to transmit location information when device motion has been detected to cease or stop. As shown, at step 2810, a device recovery request may be received and, at step 2820, motion of the device may be identified. For example, the mobile device 101 may detect motion (e.g., a large scale motion indicating a higher rate of travel) of the mobile device 101. At step 2830, a determination may be made as to whether the identified motion of the device has stopped or ceased. For example, if the mobile device 101 identifies a ceasing or stopping of motion, then at step 2840, location information may be transmitted or uploaded from the mobile device 101. However, if the mobile device 101 does not identify a ceasing or stopping of motion, then the mobile device 101 may not yet transmit or upload location information and may continue to identify motion of the mobile device. As such, in some embodiments, the mobile device may transmit or upload location information when a ceasing or stopping of a rate of movement or velocity of the mobile device has been detected.

Furthermore, in some embodiments, a user or owner of the mobile device or another agent acting on behalf of the user or owner of the mobile device may remotely specify the frequency of transmitting or uploading the location information from the mobile device. For example, the remote access web page as previously disclosed may be used to specify such a frequency to transmit or upload location information from the mobile device 101. In some embodiments, the frequency of transmitting or uploading the location information may be based on local conditions of the mobile device. For example, the frequency of transmitting or uploading the location information may be based on the battery of the mobile device. Furthermore, the frequency of transmitting or uploading the location information may be based on actions performed on the device that may be a pre-cursor of potential mobile device de-activation. Such actions may include attempted battery removal from the mobile device. For example, if an attempted battery removal is detected, then the location information may be transmitted or uploaded from the mobile device. Other actions may include a picking up of the mobile device. For example, sensors of the mobile device may detect that the mobile device has been picked up by a person and may transmit or upload the location information in response to such detection. If there are multiple types of location systems available on a device, it may be desirable to wait for a more accurate system such as GPS or Wi-Fi to return location-related information instead of returning the first available, yet usually less accurate, cell-tower location-related information. It is also desirable, however, to have a location quickly, even if it is less accurate than one that may take more time. The processing of information from these various location systems is described below. In an embodiment, the device utilizes multiple systems which provide location-related information to get the most accurate information available at a given time during the course of a location request. When the device receives a command to locate itself for a period of time, it starts one or more available systems which may be able to provide location-related information. During the period of time that the device has been requested to send location-related information to the server, the device will periodically send the most recent data available from one or more location information systems. In an example, the server requests for a device which has GPS and a mobile network radio to send location information for 5 minutes. When the device first receives the command, it attempts to use GPS and the device's mobile network radio to retrieve location-related information. Because GPS has to acquire satellite signals, it may take several minutes before an accurate location is available. The device's first report to the server contains only cell-tower location-related information. If, before the next report is sent to the server, GPS has acquired a fix, the device will send both GPS and cell-tower information to the server. The device will continue periodically sending reports containing available location-related information until the location time period is finished.

While GPS is often the most accurate location system, there are various situations, such as when the device is indoors or in an urban area, when GPS cannot obtain an accurate fix. Other location systems are desirable when GPS is not available or is waiting to acquire a fix. Because wireless infrastructure stations such as Wi-Fi access points and cellular network towers transmit identifiers that are usually globally unique, the identifiers and associated signal characteristics detected by the mobile device can be used to estimate the location of the device. In an embodiment, when the server requests that software on the device gathers location-related information, the software on the device retrieves identification and signal information for nearby Wi-Fi access points and cellular network towers and their associated signal characteristics detected by the mobile device. For each Wi-Fi access point, the device reports the access point's BSSID to identify the access point and the device's received signal strength for that access point to characterize the signal. For a nearby cell-tower, the device reports different information depending on the cellular network type. For example, in GSM-based networks, the device may report a cell tower's mobile country code (MCC), mobile network code (MNC), location area code (LAC), and cell id (CID) to identify the tower along with the timing advance and signal strength to characterize the device's connection with that tower. For example, in CDMA-based networks, the device may report a cell tower's mobile country code (MCC), system ID (SID), network ID (NID), and billing ID (BID) to identify the tower along with the signal strength to characterize the device's connection to the tower. For CDMA, GSM, and other networks, there may also be additional parameters such as the absolute signal level, the signal level relative to noise, and the bit error rate reported depending on the software and hardware present on the device. If information regarding multiple cellular network towers is available, the device may report information for each cell tower to the server for increased accuracy.

If the device has a built-in location mechanism, such as one provided by the network operator, device manufacturer, or other party, the software on the device may use the built-in location mechanism alone or in conjunction with other location systems. In an embodiment, when the software on the device receives a command from the server to report location-related information, the device initiates a request to the built-in location mechanism to retrieve the device's location. When the built-in location mechanism returns a location, the software on the mobile device reports it to the server. While the built-in location mechanism is determining the device's location, the software on the device may use GPS, Wi-Fi, or cell-tower location systems as well in order to maximize the speed and accuracy of location-related information.

In the case of GPS or the device's built-in location mechanism, the device 101 directly reports the physical location and associated data to the server 111. In the case of Wi-Fi, cell-tower, or other similar location systems, the device 101 reports information to the server 111 which must be processed to determine the physical location of the device. In an embodiment with reference to FIG. 14, the server 111 utilizes an external location service 1400 which is accessible via an HTTP API to estimate the device's location based on one or more location systems. When the device reports location-related information to the server 1401, the server stores the information in a database 1402. The next time the client computer 233 requests to display the location reported by the device 1403, the server contacts the external service using its HTTP API and transmits some or all of the location-related information provided by the device 1404. In order to transmit this information, the server may need to process the information and transform it into a format compatible with the external service API. When the external service returns the physical location of the device 1405, the server saves it in a database and returns the location to the client computer for display on the web page 1406. Because the physical location output by the external service is stored in the database, the next time the client computer requests that location from the server 1407 and the device has not reported any new location-related information, the server returns the location from the database 1408 and does not need to request the same location multiple times from the external service. If the third party service returns simply location coordinates, the remote access web page displays the estimated location on a map. If the service also returns an interval of confidence, the server stores the interval of confidence, and the remote access web page displays a confidence region on the map. If the service returns an address or description of the estimated device location, the server stores this data, and the remote access web page also displays that information.

In addition to or instead of using an external service to determine the physical location of the device from location-related information that does not directly specify the device's physical location, the server may use various systems to estimate the physical location of a device. These systems may require a database of known location information relating to Wi-Fi access points and cell-towers. The database can include locations of cell-towers and associated identifiers, locations of Wi-Fi access points and associated identifiers, cellular network signal characteristics at known physical locations, and other similar information. In an embodiment, the database is used to prepare or train a fuzzy system, neural network, or other system which may be used to estimate the location of a device. When the server needs to determine the location of the device, the system is already prepared and requires minimal computational power to estimate the device's location. In an additional embodiment, the server may estimate the device's location based on its proximity, as determined by signal strength or other signal characteristics, to one or more items in the database with known locations. In an embodiment, when the device sends location-related information to the server, the server sends a portion of the database corresponding to an area around the device's current location to the mobile device. The device can perform location processing without having to communicate with the server while it is in the area corresponding to the selection of the database. When the device moves out of the area, it can request a selection of the database corresponding to the new area from the server.

Mobile device location is an important part of the present invention. Providing the owner of the lost or stolen mobile device with accurate data about its location allows the owner to make careful decisions about the actions to take with respect to the mobile device security. Some suitable geo-location capabilities that can be used with the present invention are the services provided by Loopt, Inc.; Skyhook Wireless, Inc.; Mexens Intellectual Property Holding, LLC; and Google, Inc. Mexens Intellectual Property Holding, LLC holds U.S. Pat. No. 7,397,434 and True Position, Inc. of Berwyn, Pa. also has a substantial portfolio of issued U.S. Patents, of which U.S. Pat. No. 7,023,383 is exemplary, both of which describe and claim a variety of non-GPS based mobile device geo-location techniques.

2. Sound

If the user loses the device and believes it to be nearby, the device can be instructed to emit a loud sound 541. Because many users keep their mobile devices in vibrate-only or silent ringer modes, simply calling the device's phone number is not a practical way to find a nearby missing phone. In an embodiment, upon receiving a command to start playing a sound, the local software component on the mobile device will turn the device's speaker to maximum volume and start playing the requested sound. The mobile device can be configured to stop the loud sound after a predetermined period of time or when the user presses a button on the mobile device. The remote access component on the mobile device can interpret the button actuation as the device being found.

If the user wishes for the device to play a specific sound, the present invention allows the user to choose or record a custom sound which will be played on the mobile device. In an embodiment, the remote access web page allows the user to select a file on his or her local computer to upload to the server. The server re-encodes the uploaded sound into a format which can be played on the mobile device if it is uploaded in a format which is not ideal to be played on the mobile device. In an embodiment, the server allows the user to record a sound on his or her computer to be played on the mobile device. Using a browser add-on such as Adobe Flash, a recording application can be embedded into the remote access web page which allows sound to be recorded and sent to the server. After recording a sound, the user may give the sound a name so that it is identifiable in the future. The server may store sounds uploaded or recorded by the user so that the user can have the device play his or her previously uploaded sounds in the future. The user is given a choice of sounds to play on the mobile device which may include default sounds as well as any uploaded or recorded sounds that belong to the user 551. If the user selects a default sound that is already stored on the device, the server sends a command to play that sound to the device. If the user selects a custom sound or other sound that is not on the device, the server sends a command to play the sound along with the data for the custom sound. In an embodiment, the web page allows the user to control if the sound is played in a loop, and if so for how many times or for how long to loop for 552.

In an embodiment, the remote access web page can display a list of sounds available for preview and use. It is also possible to make sounds available for purchase. As shown in the embodiment of FIG. 19, the authorized user 1902 on the client computer accesses the server and interacts through the displayed web page. In this instance, the authorized user 1902, with a specific mobile communication device 1904, is accessing the Missing Device feature by having clicked on the tab 1906. One of the options provided to the user on this web page is “Scream”—sound an alarm on device 1908. When the user clicks on button 1908, the user is shown a window 2002 shown in FIG. 20. The window 2002 presents to the user a “Scream Tone” list 2004 from which the user can select a sound alarm for playing on the missing mobile communication device to sound an alarm on the device. The user accesses the list of sounds on the remote access web page and can play a preview of the sounds on the client computer by clicking on the arrow 2006 associated with a particular sound on the list. Once the user decides which sound she wants to sound on the mobile communication device as an alarm, the user clicks button 2008 to initiate the playing of the sound.

In an embodiment, once the mobile communication device receives the command from the server to start playing the missing device alarm, the screen of the mobile communication device will begin alternating between a white screen 2102 shown in FIG. 21 and a black screen 2202 shown in FIG. 22. The screens contain a button 2104 and 2204 respectively that the person locating and accessing the mobile communication device may push to stop the sound alarm from playing.

In another embodiment, if the user wants to purchase a sound that has been presented to the user on the client computer via a web page, like FIG. 20, the user can click on that sound from a list of sounds available for purchase. The user can pay for the purchase using any of the well known techniques for purchasing on internet web sites including the use of the user's account information that has already been stored by the service. For example, the purchase can be made via the user's enrolled debit/credit card, via the entry of a new debit/credit card or via charges on the user's telephone service carrier's bill.

In an embodiment, the user may use a text to speech engine to play a specific sound at the mobile device. One example of a text to speech engine is http://msdn.microsoft.com/en-us/library/ms862156.aspx. The engine converts input text to audible sound. The text to speech engine may be running on the client computer or it may be provided by the server and accessible through the remote access web page.

In one configuration shown in FIG. 23, the user enters the text message that she wants to be played on the mobile device through the remote access web page 2302. The text message is sent to the server where it is converted to a sound file 2304 and then the server sends the sound file to the mobile device for payback 2306. At the mobile communication device 101, the device receives the sound file and the request for the sound file to be played 2308. The sound file is then played on the device 2310. The mobile communication device 101 then reports the status of the playing of the sound back to the server 2312.

FIG. 24 employs a different configuration for the text to sound option. The text message is entered on client computer 233 through the web page and the request is sent to the server 2402. Server 111 receives the text message and request to play a sound on the mobile communication device 2404. In this configuration, the text to sound engine is located on the mobile communication device 101. The device 101 receives the text message and request to play 2406. The text to speech engine on the mobile communication device converts the text message to a sound file 2408. Once created, the device 101 then causes the sound file to be played 2410. Depending upon the results of the command to play the sound file, the device 101 reports the status of the requested action back to the server 2412.

In another configuration shown in FIG. 25, the text to sound engine is located on the client computer. The client computer running the remote access web page receives the input text message from the user 2502 and converts it to a sound file locally 2504. The corresponding sound file is then sent to the server, which in turn sends the sound file to the mobile communication device 2506. The device receives the sound file and request to play the sound 2508. The mobile device 101 then plays the sound 2510. Depending upon the action taken by the mobile device 101, the mobile device reports on the status of the requested action back to the server 2512.

3. Lock

If the user believes that the mobile device is not within audible range and wants to recover it without wiping the onboard data, a lock command 542 may be issued to the device. The lock command 542 deactivates the controls of the mobile device but leaves the stored data intact. In the locked state, functional control based upon the input keys is eliminated except for the ability to make calls to emergency numbers or to enter a password to unlock the device. The mobile device cannot be used to make phone calls (except for calls to emergency numbers), transmit text messages, display information, play media, or perform any other normal mobile device functionality. Because the locked mobile device may not be valuable or useful, a thief or unauthorized user may abandon the mobile device. If the mobile device is retrieved by the owner, the remote access web page can be used to unlock the mobile device to restore the normal functionality. In this embodiment, the user may use the remote access web page to unlock the device 571. The mobile device may also allow the entry of authentication information such as a password to allow the user to unlock the device without requiring access to the remote access web page. In an embodiment, the remote access web page allows the user to select a password which is required to unlock the device when initiating the lock command 553. The password on the remote access web page may be initially populated with a default value.

In an embodiment, the mobile device is configured to display information such as how to contact the owner when the local software component locks the mobile device. The information displayed on the device may include an email address, phone number, or mailing address. Alternatively or in addition, the remote access component on the device may have a method by which someone who finds the missing device can easily call a pre-defined phone number to reach the owner of the device or a recovery service.

4. Backup and Restore

The backup data command 544 causes the mobile device 101 to transmit some or all of its stored data to the server 111 where it is securely stored in a mobile device backup database. The stored data may include documents, pictures, call history, text messages, videos, audio, notes, interne favorites, contacts, calendar appointments, to do list items, applications, settings, credentials, and other data that may be stored on a mobile device. The stored data may be stored on the device's internal memory, a SIM card attached to the device, a removable or non-removable storage card, or any other storage system associated with the mobile device. The backup data stored on the server can be restored back to the mobile device if it is recovered or alternatively restored to a new replacement mobile device if the lost mobile device is not recovered. In an embodiment, the backup system can be set to perform regular backups at set time intervals. Because only some of the stored data may change or be added between each backup, the system may only transfer new data or data that has been changed since the last backup was performed. In an embodiment, the local software component 175 on the mobile device tracks the data that has previously been backed up to the server in a database which is stored on the device. When the backup is requested, the local software component compares information in the database to data stored on the device to determine what changes need to be reported to the server. In an embodiment, the local software component 175 reports the current state of all the data on the mobile device to the server. The server software 117 compares this report to the current data stored on the server and notifies the device which data needs to be backed up to the server. By only backing up data that has changed since the previous backup, the system reduces the amount of time and energy required to perform incremental backups. Because a lost mobile device may have only a limited amount of energy available from its battery, it is beneficial to minimize the impact of performing a backup.

To enable the recovery of data that was deleted or overwritten on the device, the server stores past versions of data that are not present on the device. In an embodiment, when the device informs the server that data has been deleted on the device, the server marks the backed up data in the server's database as deleted, but does not remove the data. When the device informs the server that data has been updated or otherwise changed on the device, the server marks the previous version of the data in the database as changed and adds the latest version of the data to the database. In order to efficiently handle multiple versions of data, the backup database on the server stores meta-data relating to the data backed up from the user's device. The meta-data includes the time when the data was first present on the device or was first sent from the device to the server. The meta-data also includes the time when the data was removed or replaced on the device or the time when the replaced data was sent to the server. The combination of the two times allows the server to be able to query the database to determine what data was active on the device at any given time. Any data that the device has not reported as deleted or modified has a started time but no ended time. Data that has been replaced or changed has an associated identifier which can be used to find the next version of that data. In an embodiment with reference to FIG. 17, a data viewing web page generated by the server 111 allows the user to view the data on the device at a given point in time. The data viewing web page visually displays data from the currently selected time period 1701. Individual data items are each represented visually on the web page. The data viewing web page has a user interface control such as a slider or calendar which allows the user to select a date or specific time from which to display the backed up data. The bounds of the time the user interface control is able to select are set to the earliest and latest data present on the currently selected device 1702. When the user changes the user interface control to select a given time 1703, the data viewing web page changes either by reloading or by updating itself by using a technology such as JavaScript or Adobe Flash. The time displayed on the page changes to represent the currently selected slider date 1704. The data viewing web page may allow the user to view a timeline showing when data has been changed, added, or deleted from the device. Changes to data may appear as events on the timeline. The events on the timeline may be shown as a visual representation of the data being changed, added, or deleted. In an example, the visual representation includes a thumbnail icon of the data being changed, added, or deleted. The data viewing web page may allow the user to select a specific data item and view previous versions of that data item. The previous versions may be displayed as a list with each item representing a previous version of the data item. Each previous version may be visually represented with a thumbnail of the data.

In order to ensure that users back up no more than their allotted amount of data, the server may enforce a quota which determines how much data a device or set of devices is allowed to store on the server. In an embodiment with reference to FIG. 15, the data storage quota for a device is defined in terms of total data size and number of data items stored. The device's quota has a soft and hard limit, the soft limit smaller than the hard limit. A quota is considered reached if either the total data size or number of data items stored exceeds a threshold specified for either value. When the device sends backup data to the server 1501, the server checks to see if the device has reached its hard limit of data storage on the server 1502. If the device has more active data being backed up than the server has allocated to the device's hard-limit quota, the server will deny requests to back up the data 1503. In an embodiment, the server sends an email, informing the user that some data from the device cannot be backed up 1504. The email corresponding to reaching the hard limit contains a link which allows the user to increase the data storage quota allocated to his or her device or delete data associated with the device. If the device has not reached its hard limit, the server checks to see if the device has reached its soft limit 1505. If the device has not reached its soft limit, the server stores the data 1507. If the device has reached its soft limit, the server sends an email informing the user that the device's quota has been reached 1506 and stores the data 1507. The email corresponding to reaching the soft limit contains a clickable link to the server which allows the user to increase the data storage quota allocated to the device or delete data associated with the device to bring the device under the soft limit. The email informs the user that the server will automatically remove old data that is not active on the device to make sure that new data can be backed up from the device. If the user does not perform actions to bring the device's data under the quota soft limit after a period of time, the server will automatically remove old data to bring the device's data under the quota limit. This removal process only removes data that has been updated or deleted. Data that is currently present on the device (i.e. active data) will not be removed. The email may show some or all of the data items that will be lost if the user does not bring the device's data under the soft limit before the server begins removing data.

Once the device has backed up data to the server, the server may allow the user to restore some or all of the data that has been backed up to a new device or to the device from which the data originated. When data is restored to a device, the data is sent from the server to the device, with instructions for the device to store the data. In an embodiment, the server can generate multiple web page interfaces by which the user can restore data. In one interface, the user can instruct the server to restore all of the data backed up from one device and active the restoration at a given time to that device or another device. In another interface, the user can instruct the server to restore certain categories of data backed up from one device and active at a given time to that device or another device. In a further interface, the user may view individual pieces of data and select one or more data items backed up from one device to be restored to that device or another device. This individual item restore interface also allows the user to download one or more items stored in an archive such as a ZIP file. In an embodiment, the individual restore interface is integrated into the data viewing web page so that data can be restored while it is being viewed. All of the restore interfaces may allow the user to select a specific time or time period from which to restore active data from. Active data at a given time is data that has been backed up to the server before the given time and considered to be present on the device as of the given time.

The inventive system may allow the user to restore some or all of the data backed up from one device to a different device, even if the target device has a different operating system or has other compatibility differences. In an embodiment, when backing up data, the local software component on the mobile device transforms data from a device-specific format into a universal format. For example, devices which run the Windows Mobile operating system store contact information in a special format. In an exemplary embodiment, the inventive system transforms the data for a contact into a standardized universal XML format. If the universal XML contact data is restored to a Windows Mobile device, the data is transformed back into the native Windows Mobile contact format. If the universal XML contact data is restored to another type of device such as one running the Android operating system, the universal XML contact data is transformed into the native data format supported by that device. Although this example illustrates one data type, all data formats which are not universally supported can be handled by the inventive system. In an embodiment, the server transforms data supplied by the mobile device into a universal format when the data is backed up or when the data is transferred from one device to a device of a different type. In an embodiment, both server-side and device-side transformations can be used if the data transformations would be difficult for a mobile device to perform because of battery, CPU, memory, or other limitations. In an embodiment, transformations are performed by the server to convert data between a first and a second native format when data that has been backed up in the first native format is being transferred to a device which does not support the first native format but does support the second native format.

In order to facilitate easy migration from one device to another, the server may generate a device migration web page which allows the user to go through a process to transfer data, settings, installed applications, and other information from the user's previous device to the user's new device. This process may also be used to provision a device from a virtual or physical default device so that organizations may easily standardize new or existing devices. In an embodiment with reference to FIG. 18, the process presents to the user a series of steps via the device migration web page that, when finished, result in some or all of the data, settings, or applications from a source device to be transferred to a destination device. First, the server requires that the user identify the source device from which to transfer 1801. The device migration web page contains a list of existing devices associated with the user's account and gives the user the option of adding a new device. If the user installs software on a new device, the process waits for that device to backup its information to the server before proceeding. After the source device is identified by the server, the server presents, via the device migration web page, an interface for the user to select the destination device 1802. The device migration web page contains a list of existing devices associated with the user's account and gives the user the option of adding a new device. If the user chooses to install software on a new device, the process waits for the new device to become active on the server before proceeding. Once the source and destination devices are identified, the server presents to the user, via the remote access web page, an interface for choosing what data, settings, or applications to transfer to the destination device 1803. Once the user has chosen what to transfer, the server queues commands to be sent to the destination device, indicates for the destination device to connect to the server, and transmits the commands to the device when the device connects 1805. In an embodiment, data is converted before it is transmitted to the device 1804. The data may be converted before the commands are queued or after the commands are queued but before the data is transmitted to the device. If the devices run compatible operating systems or the data is in a universal format, the data may be directly transferred without conversion. If the devices run incompatible operating systems, the server may convert the data to make it compatible with the destination device. In an example, if applications are being transferred from the source device to the destination device and the two devices run incompatible operating systems, the application running on the source device would not run on the destination device. The server may reference a database containing application equivalents for different platforms and choose to transfer a version of the application to the destination device that is compatible with the destination device's operating system. If there is not a version of the application available for the destination device, a suitable substitute may be chosen. During the time while the desired information is being sent to the destination device, the device migration web page displays a progress indicator showing the status of the transfer process. When the transfer is finished, the server informs the user, via the device migration web page, that the migration is complete and the destination device is ready to use.

5. Wipe

The user can also instruct the mobile device to wipe the data stored on the mobile device 543. In order to make sure that all of the data on a lost device is backed up before it is wiped, the destruction of stored data may be performed after the mobile device has locked and a backup has been performed. In order to ensure that the data cannot be recovered from the mobile device, the mobile device may write over the entire memory with meaningless data. In an embodiment, the mobile device writes over the memory multiple times to ensure that no residual traces of data are left. In addition to the mobile device's onboard memory, there may be additional components associated with the mobile device which can store data such as removable or non-removable storage devices and Subscriber Identification Modules (often called SIM cards). On storage cards, some mobile devices can store pictures, documents, applications, and other data. On SIM cards, some mobile devices can store contacts, text messages, applications, and other data. In an embodiment, when the mobile device performs a wipe, it erases the data on some or all of the additional components which can store data. If the mobile device is recovered, backed up data can be used to restore some or all of the data that was previously wiped.

6. Other Remote Actions

In an embodiment, the remote access web page allows the user to request that the server instruct the device to record audio from its microphone, video from its camera, or both. The recording may be for a default period of time, the user may specify a time interval to record for, or the user may specify a periodic recording. After the device records audio and/or video, it sends the audio and/or video data to the server. The remote access web page shows recently recorded data uploaded by the device. The remote access web page allows the user to download recorded data as well as view it directly in the web page. In an embodiment, the user may use the remote access web page to stream audio and/or video from the device. Upon receiving a request to stream audio and/or video, the server sends a command to the device which then begins streaming the requested media to a streaming server using a protocol such as RTP (Real-time Transport Protocol). The mobile device encodes the audio and/or video in a compressed format to minimize the data rate required to stream. The remote access web page contains a small application which utilizes a browser component such as Flash from Adobe to allow the user to view the streaming audio and/or video from the device. The streaming server may process the video and/or audio from the mobile device in order to make it compatible with the streaming media display application. In addition, the streaming server may store the streamed audio and/or video from the device for later retrieval by the user. The remote access web page may display previously recorded streams for download by the user.

In an embodiment, the remote access web page allows the user to request that the server instruct the device to take a picture using the device's camera. In an embodiment, the remote access web page allows the user to specify that the device should take pictures periodically at a specified interval. After the device takes a picture, it sends it to the server. The server saves the picture and displays the latest pictures on the remote access web page for viewing or download by the user. The remote access web page may display previous pictures so that the user may view pictures taken by the device over a period of time.

7. Status Reporting

In addition to remote access controls, the remote access web page can provide status information for the requested commands. As discussed, the mobile device transmits reports to the server which indicate the status of commands sent to it. The local software component on the mobile device interprets the commands being sent by the server and reports on the status of the commands. The reports can include the progress of the commands, the completion of the commands and other information pertaining to the mobile device. In an example referencing FIG. 5, the user selected to locate the device, backup data from the device, lock the device, and wipe all data from device. The remote access web page indicates that the server is in contact with the mobile device and communications are OK 560. The mobile device has been locked 564 and the system is 57% complete in backing up data from the device 562. The status of wiping the device 563 is at 0% because the system is waiting for the backup to be completed. The user may stop the wipe by pressing the cancel button 570.

If a device's session with the server is interrupted and not resumed within a given amount of time, the remote access web page will indicate that the communications with the device are lost. The server may automatically attempt to indicate to the device to reconnect or allow the user to request that the server indicate to the device to connect. If the server indicates to the device to reconnect, the remote access web page shows the status of attempts to re-establish communications. When communications are re-established, the remote access web page will again indicate that communications are OK 560 and the remote access commands will resume from the point at which communications were broken.

8. Lost/Stolen Device Functionality

When the device is lost or stolen, it may be desirable for the device to hide the presence and prevent removal of software such as the local software component. In an embodiment, the server can issue a command which puts the device into a lost/stolen mode. When the device is in lost/stolen mode, it may hide any user interface components related to the local software component, prevent removal of the local software component, and report the location of the device and actions performed on the device such as phone calls, text messages, web pages visited, and SIM card changes. The remote access web page may display that the device is lost/stolen. In a further embodiment, the remote access web page displays the location corresponding to the device's location reports on a map and displays a list of the actions performed on the device since it has been in lost/stolen mode. The map may show the location of the device over multiple points in time to convey information regarding movement of the device. In an embodiment, entering lost/stolen mode automatically triggers the local software component on the mobile device to perform certain actions. For example, when in lost/stolen mode, the local software component on the device automatically takes a picture using the device's camera periodically. Alternatively, when in lost/stolen mode, the local software component on the device automatically records audio and/or video from the device. In each case, the device sends data resulting from the automatically performed action(s) to the server. The data is displayed on the remote access web page for view by the user. The remote access web page allows the user to configure what actions, if any, should be performed by the device when it enters lost/stolen mode.

The device may automatically enter lost/stolen mode upon certain events. In an embodiment, the server automatically instructs the local software component on the device to go into lost/stolen mode when the user requests for the server to send a remote access command which is indicative of the device being lost or stolen. Commands such as lock, play sound, locate, wipe, or backup may indicate that the user has lost the device or that the device was stolen. In a further embodiment, the actions configured to be automatically performed when a device enters lost/stolen mode will only be performed as a result of the user explicitly commanding the device to enter lost/stolen mode and not as a result of the device entering lost/stolen mode because the user requested a command that is indicative of the device being lost or stolen. In an embodiment, if the SIM is changed or removed on the mobile device, the device will automatically enter lost/stolen mode and notify the server of the lost/stolen mode state. In an embodiment, the device will automatically enter lost/stolen mode if it is detected to be in a location area that has been pre-defined by the user to put the device into lost/stolen mode. The location area may be defined by selecting an area(s) that the device must stay inside of or by selecting an area(s) that the device may not enter. If the device violates this location area selection requirement, the server automatically puts the device into lost/stolen mode. The user may use the remote access web page to define the location area(s). In an embodiment, the actions configured to be automatically performed when the device enters lost/stolen mode will only occur when the device enters lost/stolen mode as a result of events, such as the SIM being replaced or the device entering the pre-defined lost/stolen location area, occurring.

In an embodiment, the user can use the remote access web page to manually request for the server to instruct the mobile device to turn on lost/stolen mode. When the device is in lost/stolen mode, the user may use the remote access web page to request for the server to instruct the mobile device to turn off lost/stolen mode. In an embodiment, if the device is locked and the user enters valid authentication information such as a password on the device to unlock it, the device will automatically turn off lost/stolen mode and notify the server of the lost/stolen mode state.

When the device enters lost/stolen mode, the server may notify the user or an administrator via an email or other alert. In an embodiment, the email sent to the user when the device automatically enters lost/stolen mode has two links, one with text that corresponds to the user still having possession of the device and another with text corresponding to the user not having possession of the device. If the user follows the link corresponding to not having possession of the device, the server displays the remote access web page for the user to perform any desired actions. If the user follows the link corresponding to having possession of the device, the server turns off lost/stolen mode for the device and informs the device of the lost/stolen mode state. In an embodiment, the server sends the email when the device is in lost/stolen mode and the user has not turned it off after a period of time. In an exemplary embodiment, when the user locks the device from the remote access web page, lost/stolen mode is automatically turned on. If the user does not turn off lost/stolen mode, the server emails the user after a predetermined time period such as 1 hour. After receiving the email, the user may click on the link corresponding to having recovered the device or the user may click the link corresponding to not having recovered the device. If the device has not been recovered, the user may use the remote access web page to wipe the device and prevent any sensitive information on the device from being used for illegitimate purposes.

In an embodiment, the email sent to the user in the case of a device being in lost/stolen mode includes information about how to contact the phone's service provider to prevent fraudulent use of the phone's service. The service provider information may be generated based on information provided by the device during the server's previous communications with the local software component on the device.

When the device is lost or stolen, the user may need a replacement as soon as possible. If the user is traveling or otherwise unable to obtain a replacement device easily, it is advantageous for the system to present the user with opportunities to replace the device. In an embodiment, the email sent to the user in the case of the device being in lost/stolen mode includes offers for the user to purchase a replacement mobile device. In an embodiment, the server generates a device replacement web page that includes offers for the user to purchase a replacement mobile device. The offers may be selected based on the user's current mobile device type, the user's country of origin, the user's previous mobile operator, and other information which is available to the server. In order to provide the user with the best pricing, availability, and delivery time, the system interfaces with third party vendors or the user's mobile operator to determine what offers to present to the user. The device replacement web page allows the user to filter offers by factors such as phone operating system, presence or absence of a physical keyboard, network type, and network operator. In an embodiment, the user provides a location by entering information such as an address, country, or postal code on the device replacement web page. The server interfaces with one or more mobile device vendors to determine options available for the user to obtain a new device nearby the provided location. The server displays a map showing where the user may obtain a replacement device nearby the provided location and optionally, the pricing and availability of different replacement devices. In an embodiment, the server displays estimated or guaranteed delivery times for vendors to deliver a replacement device to the location provided by the user. In an embodiment, the server generates the device replacement web page for a user without an account on the server.

Because both the server software and the local software component can alter the device's state, it is desirable for the local software component to be able to report the device's current state to the server. The state of the device includes whether or not it is locked, whether or not it is in lost/stolen mode, and other state information that may be changed by the server software or the local software component on the device. In an embodiment, the local software component on the device reports state information to the server periodically or upon certain events such as session initiation. In an example, if the device is locked because of a command from the server and the user enters a password directly on the device to unlock it, the server needs to be notified that the device has been unlocked. The next time the device connects to the server, it transmits its state information which updates the device's lock state stored on the server.

If the device cannot communicate with the server, it is possible that the user has commanded the device to enter lost/stolen mode or to perform a remote action but the device does not receive the command. In an embodiment, the local software component on the device automatically locks the device when the device has been out of network coverage for a period of time, the device's SIM is removed or changed, the device has been turned off for a period of time, or upon other events that would render the device unable to receive commands from the server. The device is automatically unlocked once communications are re-established with the server. If the device is locked and trying to communicate with the server, the user may enter authentication credentials such as a password to unlock the device without having connected to the server. The password may be set using a web page generated by the server or via a user interface on the mobile device.

In some embodiments, the device may be placed into either a lost mode or a stolen mode. For example, the device may enter either a lost mode or a stolen mode as discussed above with relation to the disclosure of the device automatically entering the lost/stolen mode upon certain events. An additional event may include an expiration of a time interval for a user of the device to ‘check in.’ For example, the device may be configured to require a periodic ‘check-in’ and if the device does not ‘check-in’ within a predefined time interval, then the device may enter or be placed into either a lost mode or a stolen mode. However, if the device does ‘check-in’ within the predefined time interval, then the device may not be entered into either of the lost mode or stolen mode. In some embodiments, the device may have to periodically ‘check-in’ at multiple predefined time intervals (e.g., once at each repeating time interval) to prevent the device from entering either of the stolen mode or the lost mode.

Observations of or from the device may be used to determine whether to place the device into either the lost mode or the stolen mode and different actions may be undertaken depending on if the device placed into the lost mode or the stolen mode. For example, FIG. 29 illustrates a flow chart of an example method to determine a mode of a device. As shown, at step 2910, location information of the device may be received and, at step 2920, local conditions of the device may be received. In some embodiments, the location information of the device may comprise a physical location of the device that may be used to determine a location stability of the device. For example, a lost device may typically rest in a single location over a prolonged amount of time. Movement of the lost device may be relatively local (i.e., limited). As an example, a lost device that has been left at a restaurant may only travel a limited distance between a table where the lost device was placed by the owner and the restaurant's cashier location or a lost and found location. In contrast, a stolen device may experience a larger amount or magnitude of movement. For example, the movement of a stolen device may involve larger distances than the movement of a lost device. As such, an amount of change in the location information may indicate whether the device is more likely to be lost (e.g., a small distance between locations specified by the location information) or whether the device is more likely to have been stolen (e.g., a larger distance between locations specified by the location information).

In some embodiments, the local conditions of a device may include observed conditions or actions performed on the device. For example, the local condition may include a type of interaction with the device. The type of interaction with the device may typically be associated with either a lost device or a stolen device. For example, an interaction with a lost device may include, but is not limited to, turning the display of the device on. Such an interaction may be to attempt to determine contact information for the owner of the lost device. Furthermore, interactions with a stolen device may include, but are not limited to, an attempt to log in to the device, an attempt to turn the device off, a removal of a cover from the device, removal of a battery from the device, a removal of a SIM card from the device, and an external connection (e.g., min-USB) established at the device. In some embodiments, the local condition of the device may involve observed external sensing performed by the device. The device may detect that it has been placed into an enclosure. For example, the device may observe a loss of signal strength (e.g., loss of Wi-Fi, Bluetooth, and/or cell signals) that may indicate that the device has been placed into an enclosure. Examples of such an enclosure include, but are not limited to, a faraday cage or a faraday shield or faraday bag that blocks or prevents such signals from penetrating the enclosure. As such, a device placed into such an enclosure may not receive any communication signals. However, in cases where the device may be in an enclosure such as an elevator, a situation may occur where the device observes a signal loss, but has not been purposefully placed into an enclosure as previously described. In such an example, motion sensors (e.g., an accelerometer) of the device may be used to detect motion or vibrations associated with movement of an elevator, the closing or opening of elevator doors, and the vertical motion of the elevator.

Returning to FIG. 29, at step 2930, the location information and the local conditions of the device may be used to determine a mode of the device. For example, the location information and the local conditions of the device may be used to determine that the device should be in a lost mode or a stolen mode.

As such, a device (e.g., mobile device 101) may be assigned either a lost mode or a stolen mode based on one or more factors. Such factors may include location information and local conditions of the device. Location information may indicate an amount of distance that the device has moved or traveled. Local conditions of the device may include a type of interaction performed on the device. A lost device may be associated with a small amount of distance traveled and an attempt to turn the display of the device on. A stolen device may be associated with a large amount of distance traveled and a tampering of the device.

FIG. 30 illustrates a flow chart of an example method to assign a mode to a device and to transmit an identification of the assigned mode of the device. As shown, at step 3010, a client computer 233 may report a device as either lost or stolen. In alternative embodiments, a lack of a check-in as previously discussed may also result in a reporting of the device as either lost or stolen. In some embodiments, the client computer 233 may also report an approximate time and/or approximate location of the last known location for the device (e.g., before the device was either lost or stolen). At step 3020, the server 111 may transmit the report of the lost or stolen device to the mobile device 101. At step 3030, the device may receive the report and, at step 3040, the device may identify location information and local device conditions. In some embodiments, the device may identify the location information and the local device conditions in response to the report of the lost or stolen device. At step 3050, the device may assign either a lost mode or a stolen mode based on the location information and local device conditions as previously disclosed. In some embodiments, the assigning of either the lost mode or the stolen mode may also be based on the approximate time and/or approximate location of the last known location for the device as indicated in the report from the client computer 233. At step 3060, the device 101 may transmit an indication of whether the device has been assigned a lost mode or a stolen mode. At step 3070, the server 111 may store an identification of the mode assigned to the device and, at step 3080, the assigned mode may be displayed on the client computer 233. For example, the assigned mode of the device may be displayed on a remote access web page on the client computer 233.

FIG. 31 illustrates a flow chart of an example method to dynamically reassign a device from a lost mode to a stolen mode. In general, a device may first be assigned a lost mode, but as subsequent characteristics associated with a stolen device are observed, the mode assigned to the device may change from the lost mode to the stolen mode.

As shown in FIG. 31, at step 3110, a device may first be assigned a lost mode and, at step 3120, a change in location information or local conditions of the device may be received or identified. A determination may be made at step 3130 such that if the change in the location information (e.g., a distance traveled) or the local conditions (e.g., an interaction) of a device indicates a stolen device as previously disclosed, then at step 3150, the mode assigned to the device may be dynamically reassigned from the lost mode to the stolen mode. However, if the change in the location information or local conditions of the device does not indicate a stolen device, then at step 3140, the assignment of the device may remain as a lost mode. In some embodiments, such dynamic reassigning may continuously occur whenever a change in location information or local conditions of the device is detected. For example, the device may change assignment from a stolen mode to lost mode if characteristics of a lost device are detected at a later point in time.

In some embodiments, different actions may be performed based on whether the device has been assigned a lost mode or a stolen mode. If the device is in a lost mode, the device may display information on the screen to assist a person who has found the device in returning the device to the owner. For example, in response to an indication of being assigned a lost mode, the screen of the device may display contact information of the owner of the device and/or a message (e.g., a plea or reward) from the owner of the device. Such information may be used to facilitate the return of the device to the owner.

In some embodiments, if the device is in stolen mode, then it may be desirable for the device to perform certain operations unbeknownst to an unauthorized user or thief who is currently in possession of the device. For example, operations may be undertaken to continue to transmit or upload location information and to facilitate the continued transmitting or uploading of location information so that the device may be tracked and returned to the owner of the device.

Example operations to continue the transmitting or uploading of location information may involve manipulating the power off switch or button of the device such that when the device is in a lost mode or a stolen mode, the device may appear to be turned off but is actually not powered off and continues to transmit or upload location information. As such, to an observer currently possessing the device, the device may appear to be powered off, but the device may continue to transmit or upload location information so that the device may be tracked and eventually recovered by the owner. Subsequently, if the power on switch or button of the device in the lost mode or stolen mode is pressed or activated, then an expected power on sequence may commence on the display of the device, but the power on sequence may be simulated as the device is actually still powered on and transmitting or uploading location information unbeknownst to the possessor of the device.

Further operations may facilitate the continued transmitting or uploading of the location information of a device in the lost mode or stolen mode. For example, the device may vary its power duty cycle if it is in lost mode or stolen mode. In such an embodiment, the device may enter into a low power mode in response to being in a lost mode or a stolen mode. The low power mode may switch or turn off power consuming components or operations of the device. However, such components or operations necessary for continued transmitting or uploading of the location information may remain functional. For example, communication interfaces and sensors (e.g., accelerometers, gyroscopes, magnetic sensors, etc.) may remain functional while other components of the device may be deactivated and no longer remain functional. Furthermore, operations or processes may also be deactivated or ceased to function. For example, applications and background processes that are unrelated to the determining of location information and the transmitting or uploading of the location information from the device may be deactivated and cease to operate. In some embodiments, the device may exit the low power mode, transmit or upload the location information, and then re-enter the low power mode at predefined time intervals.

In some embodiments, if the ability to transmit or upload the location information from the device is unavailable (e.g., if no signal to communicate the location information is available), then the location information may be retained until the ability to transmit or upload the location information becomes available. For example, if the device in the lost mode or stolen mode identifies new location information at a first time interval and is unable to transmit or upload the new location information at the first time interval, the device may retain the new location information until an ability to transmit or upload the new location information is available at a second time interval. As such, if no Wi-Fi, Bluetooth, or cell phone, or similar communication interface signal is available at the first time interval, but at least one of the communication interface signals is available at the second time interval, then the new location information may be transmitted or uploaded at the second time interval.

Furthermore, different communication interface methods may be attempted for transmitting or uploading of the location information. For example, if a Wi-Fi connection (e.g., from a Wi-Fi base station) is available, then the transmitting or uploading of the location information may be based on the Wi-Fi connection. However, if the Wi-Fi connection is not available, then the transmitting or uploading of the location information may be attempted through a cellular data connection. However, if such a cellular data connection is not available, then an SMS text message may be used to transmit the location information of the device in the lost mode or the stolen mode.

In some embodiments, operations of the device may be used to prolong the battery life of the device such that location information may be transmitted or uploaded for a more prolonged amount of time. For example, if the device is in the lost mode or the stolen mode, the device may deliberately under report a battery charge status for the device. In such an example, the device may continue to charge as under normal circumstances (e.g., when not in lost mode or stolen mode), but may intentionally misreport the actual battery charge state. For example, the device may display that the battery is charged at 50%, but may in reality be charged at 90% of capacity. Thus, the device battery may be charged at a first amount, but the display of the device may display that the device battery is charged at a second amount where the first amount is larger than the second amount. As such, the device may be connected to a charging apparatus for a longer period of time and location information may continue to be transmitted or uploaded. Furthermore, if the device is in the lost mode or stolen mode, then the operation of the power on switch or button may be changed as opposed to when the device is not in the lost mode or stolen mode. For example, the device may not respond to a subsequent attempt to power on if the device is in lost mode or stolen mode.

In the same or alternative embodiments, if the device in the lost mode or stolen mode has been charged beyond a predetermined threshold, then the device may respond to a subsequent power on of the device. Furthermore, in some embodiments, when the device is in the lost mode or the stolen mode, the device may simulate a power off and may provide false indications or warnings that the battery is low. Furthermore, the device may turn off LED indicators, emit sounds that are associated with shutting down the device, turn off the display of the device, and/or enter into a low power mode as previously disclosed. As such, operations of the device may differ when the device is placed into lost mode or stolen mode.

As such, an owner of a device may indicate a loss of possession of the device. For example, the owner may make such an indication through a remote access web page on a client computer. In response to the indication of the loss of possession of the device, the device (or an intermediary server) may determine whether the device is lost or if the device has been stolen. In some embodiments, in response to the indication of the loss of possession of the device, the device may obtain location information and local conditions or interactions with the device. Such information may be used to determine whether the device has been lost or whether the device has been stolen. For example, a significant amount of movement may indicate that the device has been stolen while a small amount of movement may indicate that the device has been lost. Furthermore, certain interactions with the device may be observed and associated with theft of the device. These interactions may contribute to the determination that the device has been stolen and the device will thus be placed into stolen mode. In some embodiments, different actions may be undertaken by the device based on whether the device has been placed into lost mode or stolen mode. For example, if the device is in lost mode, then the device may display a message comprising information to contact the owner of the device. However, if the device is in stolen mode, then the device may perform operations to facilitate the recovery of the device by the owner.

9. Protection from Unauthorized Access

In order to protect user privacy, the inventive system may be configured so that the local software component 175 on the device 101 only accepts commands from the server that are accompanied with special remote access authentication credentials. In an embodiment with reference to FIG. 16, the server 111 can only generate the remote access authentication credentials in a short period of time with information supplied by the user. The local software component on the device is initially configured with its special remote access authentication credentials. The credentials themselves are not sent to the server. The device generates verification information and a “challenge” token and transmits them to the server 1602. The verification information and “challenge” token are stored by the server 1603. When user-supplied authentication information is received by the server, the server uses the verification information to check whether the user-supplied authentication information is correct 1604. If the authentication information is correct, the server combines the user-supplied authentication information with the “challenge” token to generate the remote access authentication credentials 1605. If the authentication information is not correct, the server does not generate the remote access credentials 1606. When the server has valid authentication credentials, it transmits a command to the device along with the valid credentials 1607. The device receives the command and checks the credential 1608. If the credential is valid, the device processes the command and returns its results to the server 1609. If the credential is not valid, the device rejects the command 1610. If the device requests that the server change the “challenge” token 1611, the server will store the new token and discard the old token 1612. The device may request the “challenge” token to be changed periodically or upon certain events to prevent attacks where previously used credentials are replayed to the device. In a further embodiment, the remote access authentication credential is generated using a special remote access password. The user sets the remote access password on the device 1601. When the remote access password is set on the device, the device generates verification information and a “challenge” token and transmits them to the server 1602. The verification information includes a random salt used for password verification and the result of hashing the password with the verification salt. The “challenge” token is a second random salt used to generate the authentication credential and not equal to the first salt. The server stores the verification information and the “challenge” token 1603. In order for the mobile device to perform an action, the server must supply the command along with the correct authentication credential. The correct authentication credential is the result of hashing the password with the “challenge” salt using an algorithm such as SHA-1. Because the server does not have the original password, it is considered mathematically infeasible for the server to generate the correct authentication credential without the user supplying the correct password, so long as the hash function in use is considered cryptographically effective. Because the server has the verification salt and the expected output of hashing the password with the verification salt, the server can verify whether or not a given password entered by the user is correct. When the user requests a remote access command that requires an authentication credential through the remote access web page, the user is asked to supply the remote access password for the device. The user supplies the remote access password to the server by entering it on the remote access web page and sending the password to the server. The server hashes the password with the verification salt and compares it to the expected verification hash result 1604. If the password is correct, the server hashes the password with the “challenge” salt to build the authentication credential 1605. If the password is incorrect, the server informs the user via the remote access web page 1606. The password is discarded after the authentication credential is generated. The server only temporarily stores the authentication credential while it is sending commands to the device and receiving status from the device corresponding to the secured remote access commands. After the credential is not needed for specific commands requested by the user, it is discarded. After any commands are completed, the software on the mobile device may send a new “challenge” salt to the server 1611 to prevent the server from using the previous authentication credential again. After receiving the new “challenge” salt, the server discards the old “challenge” salt 1612. In an alternative embodiment, the server supplies the remote access web page with the password verification hash, the password verification salt, and the “challenge” salt so that the remote access web page can generate the authentication token without sending the remote access password to the server. When the user enters a password on the remote access web page, software in the web page written in a language such as JavaScript hashes the password with the verification salt and compares it to the expected verification hash result to determine whether or not the password is correct. If the user enters the correct password, the remote access web page generates the authentication credential by hashing the password with the “challenge” salt and sends it to the server. The server can then send the desired remote access command to the device with the correct remote access credential.

10. Multiple-Device Management

Although the present invention has been described for access to and control of a single mobile device by a single user, it is also possible for the invention to be used for control of a group of mobile devices by a group administrator and/or for control of multiple devices belonging to a single user. Rather than displaying a management interface for a single mobile device, a group administrator or user with multiple devices can have access to multiple different mobile devices simultaneously.

In an embodiment, the server generates a multiple-device management web page which allows policy, security, and configuration settings to be changed for a group of devices simultaneously. When a user of the multi-device management web page changes settings for the group, the server sends commands to update the modified settings to each device in the group. The group may contain devices which have different operating systems, hardware capabilities, mobile network types, and other variations. In a further embodiment, the settings commands sent to devices of different types are the same. The local software component on each device interprets each settings command and performs any necessary settings changes appropriate to that device. In an embodiment, the server only sends commands to a device which are appropriate for that device type.

In an embodiment, the multiple-device management web page allows actions to be performed remotely on a group of devices simultaneously. When an action is selected to be performed on a group of devices, the server sends a command to each device present in the group. The multiple-device management web page shows the status of commands for each device (e.g. “3 commands outstanding for this device”) and a representation of the overall group's execution status for each command (e.g. “534 of 550 devices successfully completed backup”). The web page may show the devices or number of devices in each stage of command completion (e.g. “Waiting to send command”, “Command sent”, “Command in progress”, “Command finished”, “Command Failed”). For commands that return data to the server such as a locate command, the web page may show the locations of each device on a map. In an embodiment, the user of the web page may choose to only display devices that are in a certain geographic area. The area can be defined by selecting a portion of a map. The area can also be defined by specifying a radius and selecting a point on a map or typing the address or name of a location. In an embodiment, locations specified by the user of the web page are stored by the server for repeated use.

In addition to managing a group of devices, an administrator may use the server to access a single device belonging to an individual user. If the device belonging to an individual user is lost or stolen, the user of the device can inform the administrator who can then determine the location of the device. If the user cannot find the mobile device, the administrator can assist the user in locking the device, backing up the data stored on the device, and wiping all data from the device. The administrator can then provide the user with a replacement mobile device which has had the user's data restored onto it.

In an embodiment, a mobile device can be accessed both by its user and a group administrator. The group administrator can determine what permissions the user has to manage the device from the server. For example, the administrator may specify that users can access their devices' backed up data, perform remote actions on their devices, but may not modify their devices' security, policy, or configuration settings. In this case, a user can use the server to perform remote actions on a device without the help of an administrator. By allowing users to perform remote actions on their mobile devices directly without having to go through an administrator, the inventive system may help an organization decrease its number of lost devices and secure lost or stolen devices more quickly, thereby minimizing the possibility of sensitive data being compromised. In an embodiment, the administrator is notified when a user performs missing-device related actions so that the administrator can verify that the missing device was either found or put into a secure state. In an embodiment, multiple sets of management permissions can be defined on the server so that the server provides multiple management interfaces, each specific for different administrative roles. In an example, the server is configured so that a mobile network administrator is able to change security settings for a group of devices, an IT administrator is able to modify policy and remotely perform actions on the group, and a user is able to view backed up data from and remotely perform actions only on his or her mobile device. In an embodiment, the server can be configured to support arbitrary permission grouping for individual devices and groups of devices so as to support many different organizational or cross-organizational use cases. In an embodiment, a given device can be a member of multiple groups, inheriting settings from each group. When settings for a single group are changed, those changes are sent to software on the device. In the case of conflicting setting changes, the server defines a policy by which conflicts are reconciled. For example, disabling device functionality such as Bluetooth overrides the enablement of that functionality. In a further embodiment, the device can have settings defined that override any group settings.

In an embodiment, an administrator can access security status information for a group of mobile devices through a web page generated by the server. In order to monitor the security status of all the mobile devices in a group, the mobile devices can be configured to transmit security status and security event information such as being infected with a virus or receiving a network-based attack to the server. The server then compiles the security information and displays the security status for the group of mobile devices on an administrator's computer that is in communication with the server. By displaying the security status for all mobile devices in the group, the administrator can quickly identify a mobile device that is compromised. If a virus or other severe security event is detected on a mobile device, the administrator will be informed and can take defensive actions to isolate the mobile device to protect other mobile devices and protect the data stored on the compromised mobile device. Additional details of the remote control of the mobile devices are disclosed in co-pending U.S. patent application Ser. No. 12/255,635, “Security Status and Information Display System.”

D. Countering Espionage and Terrorism

Lost and stolen devices are the most prevalent and most serious threat facing mobile device deployments today. As government and commercial entities often store data on mobile devices relating to critical infrastructure and of importance to national security, securing lost or stolen mobile devices is of key importance to the interests of the country and specifically, in preventing terrorist threats that benefit from the information stored on mobile devices. Physical threats, such as lost or stolen devices, are intrinsically difficult to deal with because the nature of mobile devices. Mobile devices are not continuously connected to a central network, they are constantly in hostile environments, and they are predisposed to store important and sensitive information. The inventive system significantly bolsters government and commercial entities' ability to prevent sensitive data on mobile devices from falling into the hands of unauthorized parties, such as foreign intelligence agents, terrorist collaborators, and the like. When a device containing sensitive information is lost or stolen, the inventive system provides an administrator with an array of options to deal with the problem. Furthermore, embodiments of the inventive system automatically identify a likely lost or stolen device even before a user may notice it as missing.

One will appreciate that in the description above and throughout, numerous specific details are set forth in order to provide a thorough understanding of the present invention. It will be evident, however, to one of ordinary skill in the art, that the present invention may be practiced without these specific details. In other instances, well-known structures and devices are shown in block diagram form to facilitate explanation. The description of the preferred embodiments is not intended to limit the scope of the claims appended hereto. 

What is claimed is:
 1. A method comprising: receiving, by a mobile communications device, location information associated with a physical location of the mobile communications device; identifying a rate of movement of the mobile communications device; and transmitting, to a server, the location information from the mobile communications device, a rate of the transmitting of the location information to the server is based on the rate of movement of the mobile communications device.
 2. The method of claim 1, wherein the rate of the transmitting is based on the rate of movement such that the rate of the transmitting is increased if the rate of movement of the mobile communications device is increased.
 3. The method of claim 1, wherein the rate of the transmitting is based on the rate of movement such that the rate of the transmitting is increased if the rate of movement of the mobile communications device is decreased.
 4. The method of claim 1, wherein the rate of the transmitting of the location information to the server is based on the rate of movement of the mobile communications device such that the location information is transmitted when the rate of movement of the mobile communications device falls toward zero.
 5. The method of claim 1, further comprising: receiving, by the mobile communications device, a request to track the mobile communications device, wherein the receiving of the location information is performed in response to the receiving of the request to track the mobile communications device.
 6. The method of claim 1, wherein the rate of movement of the mobile communications device is identified by internal sensors of the mobile communications device.
 7. The method of claim 1, wherein the rate of movement of the mobile communications device is identified based on a signal strength from a signal source, the signal source comprising at least one of a cell phone tower and a Wi-Fi base station.
 8. A method comprising: determining, by a mobile communications device, location-related information for the mobile communications device; identifying a velocity of the mobile communications device; and transmitting, to a server, the location-related information from the mobile communications device at a rate based on the velocity of the mobile communications device.
 9. The method of claim 8, wherein the location-related information comprises an identification of at least one of a Wi-Fi access point or a cell tower associated with a location of the mobile communications device.
 10. The method of claim 8, wherein the rate of the transmitting is based on the velocity such that the rate of the transmitting is increased if the velocity of the mobile communications device is increased and the rate of the transmitting is decreased if the velocity of the mobile communications device is decreased.
 11. The method of claim 8, wherein the rate of the transmitting is based on the velocity such that the rate of the transmitting is increased if the velocity of the mobile communications device is decreased and the rate of the transmitting is decreased if the velocity of the mobile communications device is increased.
 12. The method of claim 8, wherein the rate of the transmitting of the location-related information to the server is based on the velocity of the mobile communications device such that the location information is transmitted as the velocity of the mobile communications device falls toward zero.
 13. The method of claim 8, wherein the velocity of the mobile communications device is identified based on a signal strength from a signal source, the signal source comprising at least one of a cell phone tower and a Wi-Fi base station.
 14. A method comprising: identifying, by a mobile communications device, a rate of movement of the mobile communications device; determining a mode for the mobile communications device based on the identified rate of movement of the mobile communications device, the mode being at least one of a lost mode or a stolen mode; and operating the mobile communications device based on the mobile communications device being in the lost mode or the stolen mode such that the device operates differently when in the lost mode as opposed to when in the stolen mode.
 15. The method of claim 14, wherein the determination of the mode for the mobile communications device is further based on at least one interaction with the mobile communications device.
 16. The method of claim 15, wherein the at least one interaction with the mobile communications device comprises at least one of a removal of a battery of the mobile communications device, a turning on a display of the mobile communications device, a removing of a cover of the mobile communications device, a removing of a subscriber identity module (SIM) card of the mobile communications device, and an establishing of an external connection to the mobile communications device.
 17. The method of claim 14, the method further comprising: receiving a remote request to indicate that the mobile communications device has been either lost or stolen, wherein the determining of the mode for the mobile communications device is performed in response to the receiving of the request.
 18. The method of claim 14, wherein the determining of the mode for the mobile communications device is performed in response to the mobile communications device not transmitting a check-in notice to a server within a predefined time interval.
 19. The method of claim 14, wherein the determining of the mode for the mobile communications device based on the rate of movement is such that a high rate of movement is associated with the stolen mode and a low rate of movement is associated with the lost mode.
 20. The method of claim 14, wherein the rate of movement of the mobile communications device is identified by internal sensors of the mobile communications device. 